Advisory

PYSEC-2026-2859

Also known as: CVE-2012-0878, GHSA-27px-qpmj-qg38, PYSEC-2012-15

Summary

Paste Script has improper group memberships permissions

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2026-07-09 16:49 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

pastescript

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.1 (ecosystem)

Fixed versions

2.0.1

Fix

  • Fixed version 2.0.1
    pip install --upgrade pastescript==2.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences