{"id":"CVE-2026-138591","summary":"ARTEX 0.4.0 before 0.7.1 Credential Leak via Recording Proxy Keep-Alive Reuse","details":"ARTEX 0.4.0 before 0.7.1 contains an information disclosure vulnerability in its go-mitmproxy based recording proxy that forwards later plain-HTTP keep-alive requests to the first upstream host. A remote host contacted first while traffic capture is enabled can receive the agent's subsequent requests for other hosts, including paths, bodies, Cookie and Authorization headers.","aliases":["GHSA-q37j-63cc-cr7p"],"modified":"2026-12-02T21:00:20.714687860Z","published":"2026-12-01T14:30:19.636Z","database_specific":{"cwe_ids":["CWE-201"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138591.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/BaaRai/ARTEX/security/advisories/GHSA-q37j-63cc-cr7p"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138591.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138591"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/artex-0.4.0-before-0.7.1-credential-leak-via-recording-proxy-keep-alive-reuse"},{"type":"FIX","url":"https://github.com/BaaRai/ARTEX/commit/b1c9d4e06ed0005796764d9d1115e7dfb88a74b3"},{"type":"ARTICLE","url":"https://github.com/BaaRai/ARTEX/blob/b130cff6023316f5aef4021387c7aa71f4be2f25/traffic/traffic.go#L339-L371"},{"type":"ARTICLE","url":"https://github.com/lqqyt2423/go-mitmproxy/blob/v1.9.2/proxy/attacker.go#L581-L606"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/baarai/artex","events":[{"introduced":"b3717f7a5fe8d07fcd4fe7167603f314e9b64840"},{"fixed":"6479ed70f339057118e32b93df238850eed658b7"},{"fixed":"b1c9d4e06ed0005796764d9d1115e7dfb88a74b3"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0.4.0"},{"fixed":"0.7.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"b1c9d4e06ed0005796764d9d1115e7dfb88a74b3"}]}]}}],"versions":["v0.7.0","v0.6.0","v0.5.1","v0.5.0","v0.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138591.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}