{"id":"CVE-2026-35372","aliases":["CVE-2026-35372","GHSA-wq63-vh5h-pr5p"],"related":[],"kind":"vulnerability","state":"published","title":"uutils coreutils ln Security Bypass via Improper Handling of the --no-dereference Flag","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Un error de lógica en la utilidad ln de uutils coreutils permite a la utilidad desreferenciar un objetivo de enlace simbólico incluso cuando la bandera --no-dereference (o -n) se proporciona explícitamente. La implementación anteriormente solo respetaba la intención de ’no desreferenciar’ si el modo --force (sobrescribir) también estaba habilitado. Esta falla hace que ln siga un enlace simbólico que apunta a un directorio y cree nuevos enlaces dentro de ese directorio objetivo en lugar de tratar el propio enlace simbólico como el destino. En entornos donde un usuario privilegiado o un script del sistema utiliza ln -n para actualizar un enlace simbólico, un atacante local podría manipular enlaces simbólicos existentes para redirigir la creación de archivos hacia directorios sensibles, lo que podría llevar a la creación de archivos no autorizados o a una mala configuración del sistema.","source":"nvd"}],"published":"2026-04-22T16:08:58.696Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-61"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.8.0","status":"affected"}],"vendor":"Uutils","product":"coreutils","package":"coreutils","repo":"https://github.com/uutils/coreutils","platforms":["Linux","Unix","macOS"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.8.0"}],"ecosystem":"crates.io","package":"coreutils","purl":"pkg:cargo/coreutils","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.8.0"}],"vendor":"uutils","product":"coreutils","cpe":"cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/uutils/coreutils/pull/11253","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/uutils/coreutils/releases/tag/0.8.0","tags":["release-notes","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35372","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/uutils/coreutils/commit/394c4b17f2f382b4be9f54389bcb79028de02f39","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/uutils/coreutils","tags":["package"],"sources":["ghsa"]}],"credits":["Zellic"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-22T17:21:07.778Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35372","url":"https://www.cve.org/CVERecord?id=CVE-2026-35372","licence":"CVE Terms of Use","modified":"2026-04-22T17:21:15.165Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wq63-vh5h-pr5p","url":"https://github.com/advisories/GHSA-wq63-vh5h-pr5p","licence":"CC-BY-4.0","modified":"2026-05-05T16:26:29.509Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35372","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35372","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.336Z","epss":{"score":0.00144,"percentile":0.03874,"date":"2026-12-02T12:00:21.000Z"}}