Skip to main content

CVE-2026-90651: CWE-295 Improper Certificate Validation in Socket Socket Firewall

0
High
VulnerabilityCVE-2026-90651cvecve-2026-90651cwe-295
Published: 09/12/2026 (09/12/2026, 23:55:41 UTC)
Source: CVE Database V5
Vendor/Project: Socket
Product: Socket Firewall

Description

Socket Firewall (socketdev/socket-registry-firewall) in registry mode before 2.0.0 does not verify upstream TLS certificates by default. When the api_ssl_verify and upstream_ssl_verify configuration keys are omitted from socket.yml, the generated configuration sets SOCKET_API_SSL_VERIFY='false' and UPSTREAM_SSL_VERIFY='false', and the OpenResty/Lua HTTP client used for outbound requests accepts any certificate, including self-signed and otherwise untrusted certificates, without validating the chain. An attacker positioned to intercept traffic between Socket Firewall and the Socket API or an upstream package registry can present a crafted certificate and modify responses in transit, including substituting malicious package content or altering the allow/block decisions the firewall enforces. Setting api_ssl_verify: true and upstream_ssl_verify: true enables verification; however, in versions before 1.1.334, the generated nginx configuration did not emit lua_ssl_trusted_certificate, and thus verification could not be used successfully without manually patching the generated configuration. Version 2.0.0 changes the default for both settings to true.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L

Affected software

Socket

Socket Firewall

Affected versions
>=0 <2.0.0
GitHub Actionsmore threats →ai
socketdev/socket-registry-firewall
pkg:github/socketdev/socket-registry-firewall
Affected versions
>=0 <2.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/13/2026, 00:16:30 UTC

Technical Analysis

Socket Firewall (socketdev/socket-registry-firewall) in registry mode prior to version 2.0.0 does not verify upstream TLS certificates by default due to configuration keys api_ssl_verify and upstream_ssl_verify defaulting to false when omitted. The OpenResty/Lua HTTP client accepts any certificate without validating the chain, including self-signed or untrusted certificates. This allows an attacker positioned to intercept traffic between Socket Firewall and the Socket API or upstream package registry to present crafted certificates and modify responses in transit, potentially substituting malicious package content or altering firewall allow/block decisions. Although setting api_ssl_verify and upstream_ssl_verify to true enables verification, versions before 1.1.334 did not emit the lua_ssl_trusted_certificate directive in the generated nginx configuration, preventing effective verification without manual configuration changes. Version 2.0.0 changes the default for these settings to true, improving security by enforcing certificate validation.

Potential Impact

An attacker capable of intercepting traffic between the Socket Firewall and upstream services can exploit the lack of TLS certificate validation to present forged certificates. This can lead to modification of responses, including injecting malicious package content or manipulating firewall decisions, resulting in potential compromise of the package supply chain and firewall enforcement integrity. The CVSS 3.1 score of 8.1 (high severity) reflects the potential for information disclosure, high integrity impact, and low availability impact.

Mitigation Recommendations

Upgrade to Socket Firewall version 2.0.0 or later, which enables upstream TLS certificate verification by default. For versions prior to 2.0.0, explicitly set api_ssl_verify: true and upstream_ssl_verify: true in socket.yml and ensure the nginx configuration includes lua_ssl_trusted_certificate to enable proper certificate validation. Manual patching of the generated configuration may be required for versions before 1.1.334. Since no official patch links are provided, consult the vendor documentation or release notes for detailed upgrade instructions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-09-12T23:55:40.704Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa5e7fe55bf5e2cf5e5ad7d

Added to database: 09/13/2026, 00:02:06 UTC

Last enriched: 09/13/2026, 00:16:30 UTC

Last updated: 09/13/2026, 03:20:12 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses