CVE-2026-35360
Full vulnerability record from the local CVENow database.
Description
The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internally uses O_TRUNC. An attacker can exploit this window to create a file or swap a symlink at the target path, causing touch to truncate an existing file and leading to permanent data loss.
Severity
MEDIUM
CVSS score
6.3
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-04-22 17:16:38.673000
Last modified
2026-10-26 21:10:00.170000
View original CVE JSON
{
"id": "CVE-2026-35360",
"sourceIdentifier": "[email protected]",
"published": "2026-04-22T17:16:38.673",
"lastModified": "2026-10-26T21:10:00.170",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internally uses O_TRUNC. An attacker can exploit this window to create a file or swap a symlink at the target path, causing touch to truncate an existing file and leading to permanent data loss."
},
{
"lang": "es",
"value": "La utilidad touch en uutils coreutils es vulnerable a una condición de carrera Time-of-Check to Time-of-Use (TOCTOU) durante la creación de archivos. Cuando la utilidad identifica una ruta faltante, más tarde intenta la creación usando File::create(), que utiliza internamente O_TRUNC. Un atacante puede explotar esta ventana para crear un archivo o intercambiar un enlace simbólico en la ruta de destino, haciendo que touch trunque un archivo existente y lo que lleva a la pérdida permanente de datos."
}
],
"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:N/I:H/A:H",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.0,
"impactScore": 5.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-04-22T18:03:23.474289Z",
"id": "CVE-2026-35360",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"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/10019",
"source": "[email protected]",
"tags": [
"Exploit",
"Issue Tracking",
"Vendor Advisory"
]
},
{
"url": "https://github.com/uutils/coreutils/issues/10019",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Issue Tracking",
"Vendor Advisory"
]
}
]
}