{"id":"PYSEC-2026-2859","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.","aliases":["CVE-2012-0878","GHSA-27px-qpmj-qg38","PYSEC-2012-15"],"modified":"2026-07-13T16:43:34.842469260Z","published":"2026-07-09T16:49:46.570086Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0878"},{"type":"WEB","url":"https://github.com/cdent/pastescript/commit/b5f36f2995e1ae117cc53d2bd458d7fb33e4cabe"},{"type":"WEB","url":"https://bitbucket.org/ianb/pastescript/changeset/a19e462769b4"},{"type":"WEB","url":"https://bitbucket.org/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=796790"},{"type":"PACKAGE","url":"https://github.com/pasteorg/pastescript"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paste/PYSEC-2012-15.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20140723093519/http://secunia.com/advisories/50410"},{"type":"WEB","url":"https://web.archive.org/web/20140803132259/http://secunia.com/advisories/48812"},{"type":"WEB","url":"http://groups.google.com/group/paste-users/browse_thread/thread/2aa651ba331c2471"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2012-1206.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/02/23/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/02/23/4"},{"type":"PACKAGE","url":"https://pypi.org/project/pastescript"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-27px-qpmj-qg38"}],"affected":[{"package":{"name":"pastescript","ecosystem":"PyPI","purl":"pkg:pypi/pastescript"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"versions":["0.3","0.3.1","0.4","0.4.1","0.4.2","0.5","0.5.1","0.9","0.9.6","0.9.7","0.9.8","1.0","1.1","1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.6","1.6.1","1.6.1.1","1.6.2","1.6.3","1.7","1.7.2","1.7.3","1.7.4","1.7.4.1","1.7.4.2","1.7.5","2.0"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/pastescript/PYSEC-2026-2859.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}