{"items":[{"id":"NVI-00016027","kind":"vulnerability","title":"picklescan vulnerable to arbitrary file create using logging.FileHandler","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-m7j5-r2p5-c39r"],"plain_summary":"GitHub lists this reviewed advisory for picklescan. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-083cb71385f88b8629ef3d528deca70e"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-083cb71385f88b8629ef3d528deca70e","url":"https://github.com/advisories/GHSA-m7j5-r2p5-c39r","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-m7j5-r2p5-c39r","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T22:34:49.300Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-083cb71385f88b8629ef3d528deca70e"],"technology":"picklescan","known_exclusions":[],"conditions_summary":"### Summary\nUnsafe pickle deserialization allows unauthenticated attackers to perform Arbitrary File Creation. By chaining the logging.FileHandler class, an attacker can bypass RCE-focused blocklists to create empty files on the server. The vulnerability allows creating zero-byte files in arbitrary locations but does not permit overwriting or modifying existing files.\n\n### Details\nThe application deserializes untrusted pickle data. While RCE keywords may be blocked, the exploit abuses standard library features:\n\nlogging.FileHandler: The exploit instantiates this class using its default behavior (append mode).\n\nBehavior on Existing Files: If the target file already exists, the handler opens it without modifying its content, resulting in no impact to existing data.\n\nBehavior on Non-Existent Files: If the target file does not exist, the handler creates a new zero-byte file with the specified name.\n\n### PoC\n```python\nimport pickle\n\nclass WriteFile:\n    def __reduce__(self):\n        from logging import FileHandler\n        return (FileHandler, ('evil.log',))\n    \nwith open(\"bypass_write.pkl\", \"wb\") as f:\n    pickle.dump(WriteFile(), f)\n\nhandler = pickle.loads(pickle.dumps(WriteFile()))\n`","public_affected_ranges":["< 1.0.1"]}],"null_published_at":"2026-11-04T10:04:27.867Z","source_updated_at":"2026-07-21T14:45:11.000Z","source_disclosed_at":"2026-02-02T20:50:30.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-03T22:34:49.300Z"}],"next_cursor":null,"snapshot_revision":"42594"}