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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pastescript | 1.7.5-2 | — |
| Debian 13 | pastescript | 1.7.5-2 | — |
| Debian 12 | pastescript | 1.7.5-2 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | python-paste-script | 1.7.3-5.el6_3 | RHSA-2012:1206 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | paste | < 1.7.5.1 | 1.7.5.1 | GHSA-27px-qpmj-qg38 |
| PyPI | pastescript | < 2.0.1 | 2.0.1 | GHSA-27px-qpmj-qg38 |
Advisories 1
- RHSA-2012:1206 Red Hat Security Advisory: python-paste-script security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- https://bugzilla.redhat.com/show_bug.cgi?id=796790
- [oss-security] 20120223 CVE Request -- python-paste-script: Supplementary groups not dropped when started an application with "paster serve" as root mailing-list
- https://bitbucket.org/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve
- 48812 third-party-advisory
- [oss-security] 20120223 Re: CVE Request -- python-paste-script: Supplementary groups not dropped when started an application with "paster serve" as root mailing-list
- RHSA-2012:1206 vendor-advisory
- 50410 third-party-advisory
- http://groups.google.com/group/paste-users/browse_thread/thread/2aa651ba331c2471
- https://bitbucket.org/ianb/pastescript/changeset/a19e462769b4