Bug 2576331 - niri: pipewire: pipewire-pulse client can overwrite the server-computed access label to bypass audio access restrictions [fedora-all]
Summary: niri: pipewire: pipewire-pulse client can overwrite the server-computed acces...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: niri
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact:
URL:
Whiteboard: {"flaws": ["37d5a43c-b190-4756-93ea-6...
Depends On:
Blocks: CVE-2026-133004
TreeView+ depends on / blocked
 
Reported: 2026-11-19 10:37 UTC by Thibault Guittet
Modified: 2026-11-19 10:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-19 10:39:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thibault Guittet 2026-11-19 10:37:01 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Summary: In PipeWire's module-protocol-pulse, the connecting client's own PulseAudio proplist is parsed into the same property set that holds the server-computed pipewire.client.access label, with no key filtering. A client that the server deliberately labelled (a Flatpak peer, an AF_INET peer, or a socket configured with the client.access option) can set pipewire.client.access=allowed in its own SET_CLIENT_NAME proplist and overwrite that label. pipewire-pulse forwards the overwritten label to the PipeWire daemon when connecting on the client's behalf, and module-access in its default legacy mode grants unrestricted access (PW_PERM_ALL) instead of leaving the client for the session manager to restrict.

Impact: full read/write/execute/metadata access to the audio graph of the user's session - see and modify all nodes and streams, read other applications' client records, capture microphone and other applications' audio. No code execution, no cross-user access, not remotely exploitable (AF_UNIX socket). Ordinary non-sandboxed local applications are already unrestricted in the default configuration and are unaffected.

Prerequisites: local code execution as the user; the client must be one the pulse server deliberately labels (realistic case: a Flatpak application with --socket=pulseaudio; also operator-configured client.access sockets and the non-default TCP listener). The PulseAudio authentication cookie is not verified (see CVE-2026-5674).

Affected versions: introduced in 0.3.43 (commit 22625fb65, 2022-01-04, pulse-server: support server config); verified present in pipewire 1.2.7 (RHEL 10.0), 1.4.11 (RHEL 9.8) and 1.6.9 (CentOS Stream 10). module-protocol-pulse is not built for RHEL 8 (pulse support disabled in the spec for RHEL < 9).

Fixed upstream: master commit 8e3a214ecfd9aece7eaabb67d29ade3496b9bbdf (pulse-server: avoid updating pipewire. properties, 2026-11-16); a 1.6 backport is planned. No released tarball contains the fix at the time of writing.

Reported by Calif.io via PSIRTSUPT-30611 (reporter reference ANT-2026-GW6KQAZJ). Red Hat independently reproduced the issue on RHEL 10-lineage packages (pipewire 1.4.11) with an own reproducer: a labelled pulse socket client that sends pipewire.client.access=allowed in its proplist is granted unrestricted access, while the same client without the property remains restricted.

CVSS: RH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L = 5.3 (Moderate).

Comment 1 Thibault Guittet 2026-11-19 10:39:01 UTC
Opened by mistake by automation.


Note You need to log in before you can comment on or make changes to this bug.