---
id: "CVE-2026-116327"
page: "https://infrastack.ai/live/CVE-2026-116327"
kind: "vulnerability"
aliases: ["CVE-2026-116327"]
title: "PostgreSQL: security_barrier views can leak hidden values to database users"
severity: "medium"
cvss: 4.3
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["database", "postgresql", "runtime", "self-hosted"]
not_affected_if: ["managed-hosting", "no-security-barrier-views", "trusted-users-only"]
published_at: "2026-11-12T15:17:41+00:00"
first_seen_at: "2026-11-12T15:41:55+00:00"
updated_at: "2026-11-12T15:44:01+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116327", "first_seen_at": "2026-11-12T15:41:55+00:00"}]
exploit_sources: []
---

# PostgreSQL: security_barrier views can leak hidden values to database users

Link for people: https://infrastack.ai/live/CVE-2026-116327 (this .md is for agents)

A database user with query access can apply a leaky function to a CASE test value or internal parameter and infer column values hidden by a security_barrier view. The attacker gets read access to protected data they should not see, one inferred value at a time.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `SELECT version();` in psql and compare against the fixed versions below.
- Look for views created with `security_barrier` (`\d+ viewname` shows the option) that hide sensitive columns from other roles.

## Fix

- PostgreSQL `18.7`, `17.12`, `16.16`, `15.20`, `14.25` (affected: versions before these)

## Timeline

- 2026-11-12T15:41:55+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-116327

## From the sources

Exposure of sensitive information in PostgreSQL security_barrier processing allows a database user to infer values hidden by a security_barrier view, via applying a leaky function to a CASE test value or internal parameter that indirectly represents a protected column.  Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
