[GH-ISSUE #6216] NetBird uses vulnerable github.com/jackc/pgx/v5 v5.5.5 with potential RCE vulnerability #12103

Closed
opened 2026-08-05 01:32:25 -04:00 by saavagebueno · 3 comments
Owner

Originally created by @HadesNull123 on GitHub (May 20, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/6216

Hello NetBird team,

I noticed that the project currently depends on:

github.com/jackc/pgx/v5 v5.5.5

Reference in go.mod:
https://github.com/netbirdio/netbird/blob/main/go.mod

The version v5.5.5 of pgx/v5 is reported to contain a security vulnerability that may lead to Remote Code Execution (RCE) under certain conditions.

Affected Dependency
Package: github.com/jackc/pgx/v5
Current version: v5.5.5
Impact

Depending on how PostgreSQL connections and protocol messages are handled inside the application, this vulnerability could potentially allow:

Remote Code Execution (RCE)
Malicious payload execution
Compromise of the running service

Originally created by @HadesNull123 on GitHub (May 20, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/6216 Hello NetBird team, I noticed that the project currently depends on: github.com/jackc/pgx/v5 v5.5.5 Reference in go.mod: https://github.com/netbirdio/netbird/blob/main/go.mod The version v5.5.5 of pgx/v5 is reported to contain a security vulnerability that may lead to Remote Code Execution (RCE) under certain conditions. Affected Dependency Package: github.com/jackc/pgx/v5 Current version: v5.5.5 Impact Depending on how PostgreSQL connections and protocol messages are handled inside the application, this vulnerability could potentially allow: Remote Code Execution (RCE) Malicious payload execution Compromise of the running service
Author
Owner

@linear-code[bot] commented on GitHub (May 20, 2026):

NET-1192

<!-- gh-comment-id:4495465398 --> @linear-code[bot] commented on GitHub (May 20, 2026): <!-- linear-linkback --> <p><a href="https://linear.app/netbird/issue/NET-1192">NET-1192</a></p>
Author
Owner

@jnfrati commented on GitHub (May 27, 2026):

Related PR https://github.com/netbirdio/netbird/pull/5967

<!-- gh-comment-id:4559426485 --> @jnfrati commented on GitHub (May 27, 2026): Related PR https://github.com/netbirdio/netbird/pull/5967
Author
Owner

@HadesNull123 commented on GitHub (May 27, 2026):

Thanks @jnfrati

<!-- gh-comment-id:4560309198 --> @HadesNull123 commented on GitHub (May 27, 2026): Thanks @jnfrati
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12103