{"answers":{"affected":"8 open source packages ship an affected version, including github.com/hashicorp/consul and consul.","exploited":"There is no known exploitation of CVE-2026-2808 in the wild and no public exploit code.","fix":"Upgrade github.com/hashicorp/consul to a fixed version for your release line: 1.18.21, 1.22.5 or 1.21.11.","what":"CVE-2026-2808 is a medium-severity path traversal vulnerability in HashiCorp Consul, published on 11 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-2808 and fix it if it is affected.\n\nWhat it is: CVE-2026-2808 is a medium-severity path traversal vulnerability in HashiCorp Consul, published on 11 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-2808 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/hashicorp/consul (Go): affected all versions; fixed in 1.18.21\n- github.com/hashicorp/consul (Go): affected all versions; fixed in 1.18.21\n- github.com/hashicorp/consul (Go): affected all versions; fixed in 1.22.5\n- github.com/hashicorp/consul (Go): affected from 1.19.0; fixed in 1.21.11\n- github.com/hashicorp/consul (Go): affected from 1.19.0; fixed in 1.21.11\n- github.com/hashicorp/consul (Go): affected from 1.22.0-rc1; fixed in 1.22.5\n- github.com/hashicorp/consul (Go): affected from 1.22.0-rc1; fixed in 1.22.5\n- consul (Bitnami): affected all versions; fixed in 1.22.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-2808/ (Markdown: https://insights.sbomify.com/CVE-2026-2808/index.md)","id":"CVE-2026-2808","markdown":"https://insights.sbomify.com/CVE-2026-2808/index.md","name":"CVE-2026-2808","record":{"aliases":["BIT-consul-2026-2808","DEBIAN-CVE-2026-2808","GHSA-cpfq-66p2-336j","GO-2026-4690","SUSE-SU-2026:2740-1","UBUNTU-CVE-2026-2808"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"HashiCorp Consul","requires_auth":"high_privilege","summary":"Attackers can read arbitrary files from the server when Consul is configured with Kubernetes authentication, exposing sensitive data.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"HashiCorp","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"HashiCorp Consul and Consul Enterprise 1.18.20 up to 1.21.10 and 1.22.4 are vulnerable to arbitrary file read when configured with Kubernetes authentication. This vulnerability, CVE-2026-2808, is fixed in Consul 1.18.21, 1.21.11 and 1.22.5.","ecosystems":["Bitnami","Go","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Consul vulnerable to arbitrary file reads through the vault kubernetes authentication provider","id":"CVE-2026-2808","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":10,"n_references":1,"next":{"headline":"Endpoint DLP Driver DLL","id":"CVE-2026-2809"},"packages":[{"ecosystem":"Bitnami","fixed":["1.22.5"],"introduced":["0"],"last_affected":[],"package":"consul","purl":"pkg:bitnami/consul","source":"BIT-consul-2026-2808"},{"ecosystem":"Go","fixed":["1.18.21"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/consul","purl":null,"source":"GHSA-cpfq-66p2-336j"},{"ecosystem":"Go","fixed":["1.18.21"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"GHSA-cpfq-66p2-336j"},{"ecosystem":"Go","fixed":["1.22.5"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"GO-2026-4690"},{"ecosystem":"Go","fixed":["1.21.11"],"introduced":["1.19.0"],"last_affected":[],"package":"github.com/hashicorp/consul","purl":null,"source":"GHSA-cpfq-66p2-336j"},{"ecosystem":"Go","fixed":["1.21.11"],"introduced":["1.19.0"],"last_affected":[],"package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"GHSA-cpfq-66p2-336j"},{"ecosystem":"Go","fixed":["1.22.5"],"introduced":["1.22.0-rc1"],"last_affected":[],"package":"github.com/hashicorp/consul","purl":null,"source":"GHSA-cpfq-66p2-336j"},{"ecosystem":"Go","fixed":["1.22.5"],"introduced":["1.22.0-rc1"],"last_affected":[],"package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"GHSA-cpfq-66p2-336j"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["0.7.0.1+gitr2908_55e924b8-150000.4.34.1"],"introduced":["0"],"last_affected":[],"package":"golang-github-docker-libnetwork","purl":"pkg:rpm/suse/golang-github-docker-libnetwork\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2026:2740-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["0.7.0.1+gitr2908_55e924b8-150000.4.34.1"],"introduced":["0"],"last_affected":[],"package":"golang-github-docker-libnetwork","purl":"pkg:rpm/suse/golang-github-docker-libnetwork\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2026:2740-1"}],"prev":{"headline":"Memory safety bugs fixed in Firefox 148 and Thunderbird 148","id":"CVE-2026-2807"},"products":["Consul","Consul Enterprise"],"published":"2026-03-11","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-17","vendors":["HashiCorp"]},"summary":"Attackers can read arbitrary files from the server when Consul is configured with Kubernetes authentication, exposing sensitive data.","url":"https://insights.sbomify.com/CVE-2026-2808/"}