← Back to CVE Explorer

CVE-2026-35376

Full vulnerability record from the local CVENow database.

Description

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the chcon utility of uutils coreutils during recursive operations. The implementation resolves recursive targets using a fresh path lookup (via fts_accpath) rather than binding the traversal and label application to the specific directory state encountered during traversal. Because these operations are not anchored to file descriptors, a local attacker with write access to a directory tree can exploit timing-sensitive rename or symbolic link races to redirect a privileged recursive relabeling operation to unintended files or directories. This vulnerability breaks the hardening expectations for SELinux administration workflows and can lead to the unauthorized modification of security labels on sensitive system objects.

Severity
MEDIUM
CVSS score
5.8 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-04-22 17:16:42.430000
Last modified
2026-10-26 22:10:00.163000
View original CVE JSON
{
  "id": "CVE-2026-35376",
  "sourceIdentifier": "[email protected]",
  "published": "2026-04-22T17:16:42.430",
  "lastModified": "2026-10-26T22:10:00.163",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the chcon utility of uutils coreutils during recursive operations. The implementation resolves recursive targets using a fresh path lookup (via fts_accpath) rather than binding the traversal and label application to the specific directory state encountered during traversal. Because these operations are not anchored to file descriptors, a local attacker with write access to a directory tree can exploit timing-sensitive rename or symbolic link races to redirect a privileged recursive relabeling operation to unintended files or directories. This vulnerability breaks the hardening expectations for SELinux administration workflows and can lead to the unauthorized modification of security labels on sensitive system objects."
    },
    {
      "lang": "es",
      "value": "Una vulnerabilidad de tipo Time-of-Check to Time-of-Use (TOCTOU) existe en la utilidad chcon de uutils coreutils durante operaciones recursivas. La implementación resuelve objetivos recursivos utilizando una búsqueda de ruta nueva (a través de fts_accpath) en lugar de vincular el recorrido y la aplicación de etiquetas al estado específico del directorio encontrado durante el recorrido. Debido a que estas operaciones no están ancladas a descriptores de archivo, un atacante local con acceso de escritura a un árbol de directorios puede explotar condiciones de carrera sensibles al tiempo de renombrado o de enlaces simbólicos para redirigir una operación privilegiada de reetiquetado recursivo a archivos o directorios no deseados. Esta vulnerabilidad rompe las expectativas de endurecimiento para los flujos de trabajo de administración de SELinux y puede conducir a la modificación no autorizada de etiquetas de seguridad en objetos sensibles del sistema."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Uutils",
          "product": "coreutils",
          "defaultStatus": "unaffected",
          "collectionURL": "https://github.com/uutils",
          "packageName": "coreutils",
          "platforms": [
            "Linux",
            "Unix",
            "macOS"
          ],
          "repo": "https://github.com/uutils/coreutils",
          "versions": [
            {
              "version": "0",
              "lessThan": "0.8.0",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "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:L/I:L/A:L",
          "baseScore": 4.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "HIGH",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 1.0,
        "impactScore": 3.4
      },
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L",
          "baseScore": 5.8,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "HIGH",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "HIGH",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 1.0,
        "impactScore": 4.7
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-04-22T17:01:40.636759Z",
          "id": "CVE-2026-35376",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "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:*:*",
              "versionEndExcluding": "0.8.0",
              "matchCriteriaId": "2365DBBD-6F10-4651-8DA4-08AE79E14423"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/uutils/coreutils/pull/11402",
      "source": "[email protected]",
      "tags": [
        "Issue Tracking"
      ]
    },
    {
      "url": "https://github.com/uutils/coreutils/releases/tag/0.8.0",
      "source": "[email protected]",
      "tags": [
        "Release Notes"
      ]
    }
  ]
}