CVE-2026-90651: CWE-295 Improper Certificate Validation in Socket Socket Firewall
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.
AI Analysis
Technical Summary
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.
CVE-2026-90651: CWE-295 Improper Certificate Validation in Socket 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
Affected software
Socket
Socket Firewall
pkg:github/socketdev/socket-registry-firewallRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.