{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-6540 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-6540 is a high-severity path traversal vulnerability in Tigera Calico, published on 30 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-6540 and fix it if it is affected.\n\nWhat it is: CVE-2026-6540 is a high-severity path traversal vulnerability in Tigera Calico, published on 30 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-6540 in the wild and no public exploit code.\n\nAffected product: Tigera Calico. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-6540/ (Markdown: https://insights.sbomify.com/CVE-2026-6540/index.md)","id":"CVE-2026-6540","markdown":"https://insights.sbomify.com/CVE-2026-6540/index.md","name":"CVE-2026-6540","record":{"aliases":["GHSA-gm75-wg2c-p77x","MINI-4cpr-c729-63p6","MINI-4xf7-5cpv-mf2v","MINI-h3fq-4r7h-fmwp","MINI-m625-vpcf-mf7h","MINI-pc8f-phx3-x985","MINI-qvxq-xr2q-5c87"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Calico network policy","requires_auth":"none","summary":"Attackers can bypass Calico HTTP policies using unnormalized paths to access restricted endpoints when Application Layer Policy is enabled.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Tigera","cpe":[{"product":"calico","vendor":"tigera"}],"cvss":{"score":7.9,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L","version":"4.0"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Calico's Application Layer Policy (disabled by default), which enforces HTTP rules through Dikastes, fails to perform URL path normalization. As a result, HTTP requests using path-traversal segments, encoded slashes, or repeated slashes are not correctly evaluated by Prefix path rules. Dikastes authorizes the request under the permitted prefix while the downstream workload or a fronting proxy normalizes the path and serves the restricted endpoint. An attacker with network access and no special RBAC can potentially reach HTTP endpoints the policy was intended to restrict.","ecosystems":[],"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":"L7 policy bypass via unnormalized HTTP path matching","id":"CVE-2026-6540","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Unscoped updates to other playbooks' metric configuration","id":"CVE-2026-6541"},"packages":[],"prev":{"headline":"Notepad++ 8.9.3 Format String Injection via nativeLang.xml","id":"CVE-2026-6539"},"products":["Calico","Calico Cloud","Calico Enterprise"],"published":"2026-07-30","related":[{"cvss_score":6.2,"headline":"Calico Tier Authorization Bypass via DeleteCollection","id":"CVE-2026-41187","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":6,"headline":"Unauthenticated Go pprof exposure in Calico debug server","id":"CVE-2026-41186","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":6,"headline":"ServiceAccount token disclosure via install-cni container logs","id":"CVE-2026-41184","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":6,"headline":"ServiceAccount token disclosure via Azure IPAM CNI plugin logs","id":"CVE-2026-41185","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":5.5,"headline":"Calico and Calico Enterprise may be vulnerable to route hijacking with the floating IP feature","id":"CVE-2022-28224","kev_date_added":null,"published":"2022-06-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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-07-30","vendors":["Tigera"]},"summary":"Attackers can bypass Calico HTTP policies using unnormalized paths to access restricted endpoints when Application Layer Policy is enabled.","url":"https://insights.sbomify.com/CVE-2026-6540/"}