{"id":"CVE-2026-105612","kind":"vulnerability","aliases":["CVE-2026-105612"],"related":[],"title":"PostgreSQL Anonymizer: data-modifying CTEs bypass read-only masked roles","description":"PostgreSQL Anonymizer contains a vulnerability that data-modifying CTEs to bypass the read-only restriction of masked roles. The problem is resolved in PostgreSQL Anonymizer 3.3.0 and later versions","summary":"PostgreSQL Anonymizer lets data-modifying CTEs get past the read-only restriction placed on masked roles. An attacker with a masked role can write to data it was meant to only read.","severity":"low","cvss":3.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["database","package","postgresql","postgresql-anonymizer"],"not_affected_if":["extension-not-installed","no-masked-roles"],"how_to_check":"- Check the installed PostgreSQL Anonymizer version with `SELECT extversion FROM pg_extension WHERE extname = 'anonymizer';`\n- Look for masked roles in your database that rely on read-only access to anonymized data.","fix":"- Upgrade PostgreSQL Anonymizer to `3.3.0` or later.","status":"open","published_at":"2026-10-28T18:17:02+00:00","first_seen_at":"2026-10-28T18:34:32+00:00","triaged_at":"2026-10-28T18:35:16+00:00","updated_at":"2026-10-28T18:35:16+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-28T18:35:16Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade PostgreSQL Anonymizer to `3.3.0` or later.","reach":"network","title":"PostgreSQL Anonymizer: data-modifying CTEs bypass read-only masked roles","impact":"medium","summary":"PostgreSQL Anonymizer lets data-modifying CTEs get past the read-only restriction placed on masked roles. An attacker with a masked role can write to data it was meant to only read.","category":"package","nicknames":[],"who_cares":["postgresql","postgresql-anonymizer","database"],"confidence":0.6,"needs_auth":"yes","worst_case":"Masked role writes data it should only read","analyst_note":"","how_to_check":"- Check the installed PostgreSQL Anonymizer version with `SELECT extversion FROM pg_extension WHERE extname = 'anonymizer';`\n- Look for masked roles in your database that rely on read-only access to anonymized data.","needs_analyst":false,"not_affected_if":["no-masked-roles","extension-not-installed"],"who_is_affected":"Teams running the PostgreSQL Anonymizer extension that use masked roles to give read-only access to anonymized data. Databases without the extension, or without masked roles, are not affected. The sources do not say which versions before 3.3.0 are affected.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"low"},"cost_usd":0.000574,"input_tokens":3303,"output_tokens":487,"severity_before":"low"},"analyst_status":null,"analyst_note":null,"search":"'-105612':15A,18A '-2026':14A,17A '3.3.0':86C 'anonym':2A,24B,26B,60C,85C 'attack':44B 'bypass':7A,70C 'contain':61C 'ctes':6A,31B,68C 'cve':13A,16A 'data':4A,29B,52B,66C 'data-modifi':3A,28B,65C 'databas':19B 'get':32B 'later':88C 'let':27B 'mask':11A,41B,47B,77C 'meant':55B 'modifi':5A,30B,67C 'packag':20B 'past':33B 'place':39B 'postgresql':1A,21B,23B,25B,59C,84C 'postgresql-anonym':22B 'problem':80C 'read':9A,36B,58B,73C 'read-on':8A,35B,72C 'resolv':82C 'restrict':38B,75C 'role':12A,42B,48B,78C 'version':89C 'vulner':63C 'write':50B","nicknames":[],"mitigations":[],"who_affected":"Teams running the PostgreSQL Anonymizer extension that use masked roles to give read-only access to anonymized data. Databases without the extension, or without masked roles, are not affected. The sources do not say which versions before 3.3.0 are affected.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-28T18:17:02+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","cvss_by":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-105612","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105612","severity":null,"published_at":"2026-10-28T18:17:02+00:00","modified_at":"2026-10-28T18:17:02+00:00","first_seen_at":"2026-10-28T18:34:32+00:00","fetched_at":"2026-10-28T18:34:32+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}