CVE-2026-35359
Full vulnerability record from the local CVENow database.
Description
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability in the cp utility of uutils coreutils allows an attacker to bypass no-dereference intent. The utility checks if a source path is a symbolic link using path-based metadata but subsequently opens it without the O_NOFOLLOW flag. An attacker with concurrent write access can swap a regular file for a symbolic link during this window, causing a privileged cp process to copy the contents of arbitrary sensitive files into a destination controlled by the attacker.
Severity
MEDIUM
CVSS score
4.7
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-04-22 17:16:38.537000
Last modified
2026-10-26 21:10:00.170000
View original CVE JSON
{
"id": "CVE-2026-35359",
"sourceIdentifier": "[email protected]",
"published": "2026-04-22T17:16:38.537",
"lastModified": "2026-10-26T21:10:00.170",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "A Time-of-Check to Time-of-Use (TOCTOU) vulnerability in the cp utility of uutils coreutils allows an attacker to bypass no-dereference intent. The utility checks if a source path is a symbolic link using path-based metadata but subsequently opens it without the O_NOFOLLOW flag. An attacker with concurrent write access can swap a regular file for a symbolic link during this window, causing a privileged cp process to copy the contents of arbitrary sensitive files into a destination controlled by the attacker."
},
{
"lang": "es",
"value": "Una vulnerabilidad de Time-of-Check to Time-of-Use (TOCTOU) en la utilidad cp de uutils coreutils permite a un atacante eludir la intención de no desreferenciar. La utilidad verifica si una ruta de origen es un enlace simbólico utilizando metadatos basados en la ruta, pero posteriormente lo abre sin la bandera O_NOFOLLOW. Un atacante con acceso de escritura concurrente puede intercambiar un archivo regular por un enlace simbólico durante esta ventana, lo que provoca que un proceso cp privilegiado copie el contenido de archivos sensibles arbitrarios en un destino controlado por el atacante."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "Uutils",
"product": "coreutils",
"defaultStatus": "affected",
"collectionURL": "https://github.com/uutils",
"packageName": "coreutils",
"platforms": [
"Linux",
"Unix",
"macOS"
],
"repo": "https://github.com/uutils/coreutils"
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 1.0,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-04-22T17:50:51.990482Z",
"id": "CVE-2026-35359",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-59"
},
{
"lang": "en",
"value": "CWE-367"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*",
"matchCriteriaId": "4A9AF9E4-E17C-48AD-8051-B49998618839"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/uutils/coreutils/issues/10017",
"source": "[email protected]",
"tags": [
"Exploit",
"Issue Tracking",
"Vendor Advisory"
]
},
{
"url": "https://github.com/uutils/coreutils/issues/10017",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Issue Tracking",
"Vendor Advisory"
]
}
]
}