{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-22873 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.23.9 or 1.24.3.","what":"CVE-2025-22873 is a low-severity path traversal vulnerability in Golang Go, published on 4 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-22873 and fix it if it is affected.\n\nWhat it is: CVE-2025-22873 is a low-severity path traversal vulnerability in Golang Go, published on 4 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-22873 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.23.9, 1.24.3\n- stdlib (Go): affected all versions; fixed in 1.23.9, 1.24.3\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-2025-22873/ (Markdown: https://insights.sbomify.com/CVE-2025-22873/index.md)","id":"CVE-2025-22873","markdown":"https://insights.sbomify.com/CVE-2025-22873/index.md","name":"CVE-2025-22873","record":{"aliases":["BELL-CVE-2025-22873","BIT-golang-2025-22873","CLEANSTART-2026-CB13715","CLEANSTART-2026-ZC33521","DEBIAN-CVE-2025-22873","ECHO-cc1a-f211-d25d","GHSA-p3p7-9h4w-jqw2","GO-2026-4403","MINI-2m2f-8jq7-m5mq","MINI-2wx3-wxxq-qjgf","MINI-2x93-7hm5-q3jm","MINI-33jg-h863-hrw2","MINI-377r-g742-3r79","MINI-4mmx-wgqp-23h8","MINI-55xf-9qvj-xfjw","MINI-59q7-7hj8-53vf","MINI-6rmj-qw52-qg2p","MINI-75cq-p5ww-c389","MINI-7f3m-286h-mgh2","MINI-7h6j-p8wp-r573","MINI-7j6m-w2h4-x8gx","MINI-84qm-rp8x-w38c","MINI-85w2-2f9p-27q8","MINI-8pjh-vjpg-vjmc","MINI-c9jr-3w39-q55q","MINI-fwv9-6jrr-g9vr","MINI-gjwv-r7qr-gc52","MINI-gm77-3cpw-325r","MINI-gph3-3g3w-47q4","MINI-h73v-7wp7-6247","MINI-hj4c-c97q-x8qx","MINI-jpj3-xxf2-j6cf","MINI-m5mh-c5jf-2rm5","MINI-mp9h-6q3f-7p99","MINI-pm5j-32f3-jj55","MINI-q5wg-7mh4-wc7r","MINI-qvw4-42wj-m3q4","MINI-rjfr-686m-xrgr","MINI-rm29-7rm2-mwv2","MINI-rmx2-v3pq-4fq6","MINI-v842-h3cp-2236","MINI-vc9w-7984-qrjf","MINI-w555-jc2m-f2vh","MINI-w6c4-pxvh-fjgg","MINI-w7c4-3fvj-2xfj","MINI-wpp3-4v6q-p47v","MINI-wpwq-wc6v-m3qr","MINI-x4pf-j2cj-c5w9","MINI-xh7j-fhwm-x98r","MINI-xhx5-7m88-p7mj","SUSE-SU-2025:01551-1","SUSE-SU-2025:1551-1","UBUNTU-CVE-2025-22873","openSUSE-SU-2025:15058-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Go standard library","requires_auth":"low_privilege","summary":"Attackers can access the parent directory of an os.Root by using a trailing slash, potentially exposing directory contents.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[{"product":"go","vendor":"golang"}],"cvss":{"score":3.8,"severity":"low","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"It was possible to improperly access the parent directory of an os.Root by opening a filename ending in \"../\". For example, Root.Open(\"../\") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or files contained within the parent.","ecosystems":["Bitnami","Go","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Module for Development Tools 15 SP7","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"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":"Improper access to parent directory of root in os","id":"CVE-2025-22873","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"golang:go","products":["golang:go"],"type":"path_traversal","year":"2025"},"n_packages":18,"n_references":4,"next":{"headline":"Usage of ExtKeyUsageAny disables policy validation in crypto/x509","id":"CVE-2025-22874"},"packages":[{"ecosystem":"Bitnami","fixed":["1.23.9","1.24.3"],"introduced":["0","1.24.0-0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2025-22873"},{"ecosystem":"Go","fixed":["1.23.9","1.24.3"],"introduced":["0","1.24.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2026-4403"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP7","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP7","source":"SUSE-SU-2025:01551-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/suse/go1.24\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.24.3-150000.1.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/opensuse/go1.24\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:1551-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.24.3-1.1"],"introduced":["0"],"last_affected":[],"package":"go1.24","purl":"pkg:rpm/opensuse/go1.24\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15058-1"}],"prev":{"headline":"Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net","id":"CVE-2025-22872"},"products":["os"],"published":"2026-02-04","related":[{"cvss_score":8.1,"headline":"Microsoft Windows CryptoAPI Spoofing","id":"CVE-2020-0601","kev_date_added":"2021-11-03","published":"2020-01-14"},{"cvss_score":9.8,"headline":"Missing bound checks can lead to memory corruption in safe Go in cmd/compile","id":"CVE-2026-27143","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":9.8,"headline":"Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip","id":"CVE-2024-24790","kev_date_added":null,"published":"2024-06-05"},{"cvss_score":9.8,"headline":"Arbitrary code execution via go.mod toolchain directive in cmd/go","id":"CVE-2023-39320","kev_date_added":null,"published":"2023-09-08"},{"cvss_score":9.8,"headline":"Improper handling of JavaScript whitespace in html/template","id":"CVE-2023-24540","kev_date_added":null,"published":"2023-05-11"},{"cvss_score":9.8,"headline":"Backticks not treated as string delimiters in html/template","id":"CVE-2023-24538","kev_date_added":null,"published":"2023-04-06"},{"cvss_score":9.8,"headline":"Other in go/golang","id":"CVE-2012-2666","kev_date_added":null,"published":"2021-07-09"}],"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":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-02-05","vendors":["Go standard library"]},"summary":"Attackers can access the parent directory of an os.Root by using a trailing slash, potentially exposing directory contents.","url":"https://insights.sbomify.com/CVE-2025-22873/"}