Warp: DCS lifecycle hook spoofing can alter terminal session metadata
Warp is an agentic development environment. From 0.2021.04.25.23.05.stable_00 until 0.2026.05.06.15.42.stable_01, Warp accepted certain state-mutating terminal lifecycle hooks from the PTY stream without verifying that the hooks were emitted by Warp's shell integration for the active session. An attacker who could cause a victim to view attacker-controlled terminal output in Warp could spoof selected lifecycle metadata, including the current working directory reported for the active block or SSH session transport metadata. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54686
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:06 UTC · Revision 1
Source evidence
Warp: DCS lifecycle hook spoofing can alter terminal session metadata
core-osv · Original sourcePublished 24 Jun 2026, 17:28 UTC
Warp is an agentic development environment. From 0.2021.04.25.23.05.stable_00 until 0.2026.05.06.15.42.stable_01, Warp accepted certain state-mutating terminal lifecycle hooks from the PTY stream without verifying that the hooks were emitted by Warp's shell integration for the active session. An attacker who could cause a victim to view attacker-controlled terminal output in Warp could spoof selected lifecycle metadata, including the current working directory reported for the active block or SSH session transport metadata. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.
osv:CVE-2026-54686
Complete source record
{
"id": "c54f6fb2d1b8184557da778dc41cacc4f6cb87481f98dfd312deb5c4a7cffe31",
"url": "https://osv.dev/vulnerability/CVE-2026-54686",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Warp: DCS lifecycle hook spoofing can alter terminal session metadata",
"summary": "Warp is an agentic development environment. From 0.2021.04.25.23.05.stable_00 until 0.2026.05.06.15.42.stable_01, Warp accepted certain state-mutating terminal lifecycle hooks from the PTY stream without verifying that the hooks were emitted by Warp's shell integration for the active session. An attacker who could cause a victim to view attacker-controlled terminal output in Warp could spoof selected lifecycle metadata, including the current working directory reported for the active block or SSH session transport metadata. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.",
"evidence": "osv:CVE-2026-54686",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-54686",
"aliases": [
"CVE-2026-54686",
"GHSA-9w2v-jhww-vm85"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/warpdotdev/warp",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "32d21d15c9a3da1a923d1ed66226cf5cba081d16"
},
{
"fixed": "51bd3267803c5cc0a45074fa19fd50162be7c917"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "32d21d15c9a3da1a923d1ed66226cf5cba081d16"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "51bd3267803c5cc0a45074fa19fd50162be7c917"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.2026.06.03.09.49.stable_00",
"v0.2026.06.03.09.49.preview_00",
"v0.2026.06.03.09.49.dev_00",
"v0.2026.06.09.09.21.dev_00",
"v0.2026.06.08.09.48.dev_00",
"v0.2026.06.07.09.13.dev_00",
"v0.2026.06.06.09.03.dev_00",
"v0.2026.06.05.09.22.dev_00",
"v0.2026.06.04.09.31.dev_00",
"v0.2026.06.02.09.40.dev_00",
"v0.2026.06.01.10.01.dev_00",
"v0.2026.05.31.09.13.dev_00",
"v0.2026.05.30.08.57.dev_00",
"v0.2026.05.29.09.24.dev_00",
"v0.2026.05.27.09.22.stable_00",
"v0.2026.05.27.09.22.preview_00",
"v0.2026.05.27.09.22.dev_00",
"v0.2026.05.28.09.29.dev_00",
"v0.2026.05.26.09.25.dev_00",
"v0.2026.05.25.09.34.dev_00",
"v0.2026.05.24.09.01.dev_00",
"v0.2026.05.23.08.51.dev_00",
"v0.2026.05.22.09.18.dev_00",
"v0.2026.05.21.09.21.dev_00",
"v0.2026.05.20.09.21.stable_00",
"v0.2026.05.20.09.21.preview_00",
"v0.2026.05.20.09.21.dev_00",
"v0.2026.05.19.09.24.dev_00",
"v0.2026.05.18.09.26.dev_00",
"v0.2026.05.17.08.52.dev_00",
"v0.2026.05.16.08.43.dev_00",
"v0.2026.05.15.09.17.dev_00",
"repo-sync/watermark/private-to-public",
"v0.2026.05.14.09.08.dev_00",
"v0.2026.05.13.09.15.preview_00",
"v0.2026.05.13.09.15.dev_00",
"v0.2026.05.13.09.14.stable_00",
"v0.2026.05.12.09.09.dev_00",
"v0.2026.05.06.09.13.preview_00",
"v0.2026.05.06.09.12.stable_00",
"v0.2026.05.06.09.12.dev_00",
"v0.2026.05.10.08.45.dev_00",
"v0.2026.05.11.09.24.dev_00",
"v0.2026.05.09.08.42.dev_00",
"v0.2026.05.08.08.43.dev_00",
"v0.2026.05.07.09.05.dev_00",
"v0.2026.05.05.08.57.dev_00",
"v0.2026.05.04.09.01.dev_00",
"v0.2026.05.03.08.43.dev_00",
"v0.2026.05.02.08.40.dev_00",
"v0.2026.05.01.08.50.dev_00",
"v0.2026.04.30.08.57.dev_00",
"v0.2026.04.29.08.57.dev_00",
"v0.2026.04.29.08.56.stable_00",
"v0.2026.04.29.08.56.preview_00"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54686.json"
}
}
],
"modified": "2026-10-28T02:30:24.142653195Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54686.json",
"https://github.com/warpdotdev/warp/security/advisories/GHSA-9w2v-jhww-vm85",
"https://nvd.nist.gov/vuln/detail/CVE-2026-54686",
"https://github.com/warpdotdev/warp/commit/32d21d15c9a3da1a923d1ed66226cf5cba081d16",
"https://github.com/warpdotdev/warp/commit/51bd3267803c5cc0a45074fa19fd50162be7c917"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78",
"CWE-88"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": ">= 0.2021.04.25.23.05.stable_00, < 0.2026.05.13.09.15.stable_01"
},
{
"last_affected": ">= 0.2021.04.25.23.05.stable_00, < 0.2026.05.13.09.15.stable_01"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "0.2026.05.06.15.42.stable_01"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54686.json"
}
},
"related_cves": [
{
"value": "CVE-2026-54686",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490713,
"published_at": "2026-06-24T17:28:12.027+00:00"
}