{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.4.0"
                  },
                  {
                    "fixed": "0.7.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "b1c9d4e06ed0005796764d9d1115e7dfb88a74b3"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "b3717f7a5fe8d07fcd4fe7167603f314e9b64840"
            },
            {
              "fixed": "6479ed70f339057118e32b93df238850eed658b7"
            },
            {
              "fixed": "b1c9d4e06ed0005796764d9d1115e7dfb88a74b3"
            }
          ],
          "repo": "https://github.com/baarai/artex",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-q37j-63cc-cr7p"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-201"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138591.json"
  },
  "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.",
  "id": "CVE-2026-138591",
  "modified": "2026-12-02T20:45:23.160702367Z",
  "published": "2026-12-01T14:30:19.636Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ARTEX 0.4.0 before 0.7.1 Credential Leak via Recording Proxy Keep-Alive Reuse"
}