{"answers":{"affected":"2 open source packages ship an affected version, including coreutils. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-35372 in the wild and no public exploit code.","fix":"Upgrade coreutils to 0.8.0 or later.","what":"CVE-2026-35372 is a medium-severity path traversal vulnerability in Uutils coreutils, published on 22 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-35372 and fix it if it is affected.\n\nWhat it is: CVE-2026-35372 is a medium-severity path traversal vulnerability in Uutils coreutils, published on 22 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-35372 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- coreutils (crates.io): affected all versions; fixed in 0.8.0\n- coreutils (crates.io): affected all versions; fixed in 0.8.0\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-35372/ (Markdown: https://insights.sbomify.com/CVE-2026-35372/index.md)","id":"CVE-2026-35372","markdown":"https://insights.sbomify.com/CVE-2026-35372/index.md","name":"CVE-2026-35372","record":{"aliases":["DEBIAN-CVE-2026-35372","GHSA-wq63-vh5h-pr5p","UBUNTU-CVE-2026-35372"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_modify","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"uutils coreutils","requires_auth":"low_privilege","summary":"A logic error in uutils coreutils ln allows bypassing the no-dereference flag, enabling attackers to create files in sensitive directories via symlink manipulation.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"coreutils","vendor":"uutils"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"description":"A logic error in the ln utility of uutils coreutils allows the utility to dereference a symbolic link target even when the --no-dereference (or -n) flag is explicitly provided. The implementation previously only honored the \"no-dereference\" intent if the --force (overwrite) mode was also enabled. This flaw causes ln to follow a symbolic link that points to a directory and create new links inside that target directory instead of treating the symbolic link itself as the destination. In environments where a privileged user or system script uses ln -n to update a symlink, a local attacker could manipulate existing symbolic links to redirect file creation into sensitive directories, potentially leading to unauthorized file creation or system misconfiguration.","ecosystems":["crates.io"],"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":"uutils coreutils ln Security Bypass via Improper Handling of the --no-dereference Flag","id":"CVE-2026-35372","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"uutils coreutils ln Local Denial of Service via Improper Handling of Non-UTF-8 Filenames","id":"CVE-2026-35373"},"packages":[{"ecosystem":"crates.io","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"coreutils","purl":null,"source":"GHSA-wq63-vh5h-pr5p"},{"ecosystem":"crates.io","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"coreutils","purl":"pkg:cargo/coreutils","source":"GHSA-wq63-vh5h-pr5p"}],"prev":{"headline":"uutils coreutils id Misleading Identity Reporting in Pretty Print Mode","id":"CVE-2026-35371"},"products":["coreutils"],"published":"2026-04-22","related":[{"cvss_score":7.3,"headline":"uutils coreutils chmod Path Traversal Bypass of --preserve-root","id":"CVE-2026-35338","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":7.2,"headline":"uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection","id":"CVE-2026-35368","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":7.1,"headline":"uutils coreutils mkfifo Unauthorized Permission Change on Existing Files","id":"CVE-2026-35341","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":7,"headline":"uutils coreutils mkfifo Privilege Escalation via TOCTOU Race Condition","id":"CVE-2026-35352","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":6.7,"headline":"uutils coreutils Path-Based Safety Bypass with --preserve-root","id":"CVE-2026-35349","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":6.6,"headline":"uutils coreutils cp Unexpected Privileged Executable Creation with -p","id":"CVE-2026-35350","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":6.6,"headline":"uutils coreutils mv Denial of Service and Data Duplication via Improper Symlink Expansion","id":"CVE-2026-35365","kev_date_added":null,"published":"2026-04-22"}],"sources":[{"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":"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-04-22","vendors":["Uutils"]},"summary":"A logic error in uutils coreutils ln allows bypassing the no-dereference flag, enabling attackers to create files in sensitive directories via symlink manipulation.","url":"https://insights.sbomify.com/CVE-2026-35372/"}