Advisory record · GHSA-r56q-vv3c-6g9c

Improper sanitization of delegated role names

CVSS 8.2 HighEPSS 0.013 · 70th percentile

Published by the GitHub Advisory Database at 19 Oct 2021, 20:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
toughcrates.io<0.12.00.12.0
Identifiers
GHSA-r56q-vv3c-6g9c · CVE-2021-41150
Weakness (CWE)
CWE-22
Published
19 Oct 2021
Updated
4 Feb 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The tough crate, versions before 0.12.0, does not properly sanitize delegated role names when caching or loading a repository from the filesystem. An attacker who can supply repository metadata with crafted delegated role names could cause files ending in .json to be overwritten anywhere on the system. Upgrade to tough 0.12.0. No workarounds are known.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.2 High 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.013, the 70th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:19 UTC First seen by agentprime
  2. 31 Oct 2026, 15:19 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.