CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-135389

CVE-2026-135389: Authentication Bypass via Premature Session Caching in Pion DTLS

Amit Schendel
Amit Schendel
Senior Security Researcher

Dec 3, 2026·12 min read·3 visits

Executive Summary (TL;DR)

Pion DTLS prematurely caches negotiated session secrets during the DTLS 1.2 handshake before validating client certificates or receiving a valid Finished message. An unauthenticated attacker can abandon a half-completed handshake and resume the cached session to bypass mutual TLS authentication.

A critical authentication bypass vulnerability exists in Pion DTLS (versions 2.1.0 through 3.1.13 and 4.0.0-rc.1 through 4.0.0-rc.5) within the DTLS 1.2 server handshake state machine. When a server is configured with a SessionStore and negotiates a certificate-based cipher suite, it prematurely persists the session ID and derived master secret immediately after processing the ClientKeyExchange message. Because this cache write occurs before validating the client's Certificate, CertificateVerify, and Finished messages, an unauthenticated remote attacker can abandon an incomplete initial handshake and immediately perform an abbreviated session resumption handshake using the derived master secret, bypassing mandatory client certificate authentication (RequireAnyClientCert, RequireAndVerifyClientCert) and custom VerifyConnection callbacks.

Vulnerability Overview

Pion DTLS (github.com/pion/dtls) is a widely deployed Go implementation of Datagram Transport Layer Security (DTLS), providing encrypted and authenticated communications over UDP datagrams. While commonly utilized in WebRTC stacks, Pion DTLS is also deployed as a standalone transport layer for IoT gateways, CoAP servers, and proprietary UDP services requiring mutual TLS (mTLS) client authentication and session resumption.

In affected versions of Pion DTLS (v2.1.0 to v2.2.12, v3.0.0 to v3.1.13, and v4.0.0-rc.1 to v4.0.0-rc.5), the DTLS 1.2 server handshake state machine contains an authentication bypass vulnerability tracked as CVE-2026-135389 (GHSA-hhpj-h56m-9f2p). The defect is classified under CWE-287 (Improper Authentication) and CWE-303 (Incorrect Implementation of an Authentication Algorithm). It specifically impacts DTLS servers that configure a SessionStore to support abbreviated session resumption alongside certificate-based cipher suites.

During a standard full handshake, the server is responsible for authenticating the client according to its configured ClientAuthType policy (such as RequireAnyClientCert or RequireAndVerifyClientCert) or custom VerifyConnection callback before establishing a resumable session. In vulnerable releases, the server writes the newly derived masterSecret and SessionID into the SessionStore inside flight4ProcessClientFlight immediately after parsing the ClientKeyExchange message.

Because the session is committed to the store prior to verifying the client's Certificate, CertificateVerify, and Finished messages, an attacker who does not possess a valid client certificate can initiate a handshake, send a ClientKeyExchange, derive the master secret locally, and terminate the connection before verification executes. The attacker can then initiate a new connection requesting session resumption with the cached SessionID, allowing them to complete an abbreviated handshake and gain full application access without presenting valid credentials.

> [!NOTE] > Standard WebRTC deployments using Pion are not affected by CVE-2026-135389 because WebRTC specifications and Pion's WebRTC configuration do not utilize a SessionStore for DTLS session resumption.

Root Cause Analysis

To understand the root cause of CVE-2026-135389, it is necessary to examine how the DTLS 1.2 protocol orders client key exchange, authentication, and session caching across flights. In a standard DTLS 1.2 mutual authentication handshake, the initial cookie exchange occupies Flights 1 through 3. In Flight 4 (using Pion's internal flight numbering, which corresponds to Flight 4 server output and Flight 5 client response in RFC 6347), the server transmits ServerHello, Certificate, ServerKeyExchange, CertificateRequest, and ServerHelloDone.

When the client responds to the server's CertificateRequest, it transmits a sequence of handshake messages: Certificate, ClientKeyExchange, CertificateVerify, ChangeCipherSpec, and Finished. Because UDP datagrams can arrive fragmented or out of order, Pion's handshake engine processes incoming records incrementally inside internal/flight/flight12/flight4handler.go using two core functions: flight4Parse and flight4ProcessClientFlight.

The function flight4ProcessClientFlight is designed to process the client's key exchange parameters as soon as ClientKeyExchange is available in the handshake cache, allowing the server to compute the shared pre-master secret and derive the 48-byte masterSecret while waiting for subsequent records like CertificateVerify and Finished. However, the vulnerable implementation placed the cfg.sessionStore.Set(state.SessionID, s) call directly inside flight4ProcessClientFlight immediately after deriving state.masterSecret.

This architectural decision violated a fundamental invariant of TLS/DTLS state machines: a session must never become resumable until the entire handshake—including peer authentication and cryptographic verification of the Finished message—has succeeded. In flight4handler.go, the actual enforcement of cfg.clientAuth policies (RequireAnyClientCert, VerifyClientCertIfGiven, RequireAndVerifyClientCert), the verification of the CertificateVerify signature, the execution of cfg.verifyConnection, and the decryption of the client's Finished message all take place later inside flight4Parse.

Consequently, a state transition window exists between the execution of flight4ProcessClientFlight and the completion of flight4Parse. If a client transmits a valid ClientKeyExchange message (even while omitting its Certificate message entirely) and ceases transmitting further records, flight4ProcessClientFlight executes and publishes the unauthenticated session into cfg.sessionStore. When flight4Parse subsequently detects that the client certificate or Finished message is missing, it returns early to wait for more packets or aborts the connection, but it never evicts the prematurely published session from the SessionStore.

When the client later connects and presents the cached SessionID in a new ClientHello (handled by flight0handler.go), the server retrieves the Session from cfg.sessionStore and transitions directly into an abbreviated handshake (flight2). In DTLS 1.2, an abbreviated handshake does not exchange or evaluate certificates; it solely verifies that both peers possess the cached masterSecret via ChangeCipherSpec and Finished messages. Because the client generated the ClientKeyExchange parameter in the first place, it possesses the exact masterSecret stored in the server's cache and completes the resumed handshake without ever authenticating.

Code Analysis

The primary flaw resides in internal/flight/flight12/flight4handler.go (or flight4handler.go in the v3 branch layout). Prior to the fix in commit ce84b979bcb5449727b3ea5c57add4e1edb33284 (v3) and commit 410ac0ef28df49757d3a695c10dda75137e1dbf2 (v4), flight4ProcessClientFlight derived the master secret and immediately persisted the session:

// Vulnerable code in flight4handler.go prior to commit ce84b979bcb5449727b3ea5c57add4e1edb33284
func flight4ProcessClientFlight(state *State, cache *handshakeCache, cfg *handshakeConfig) (bool, *alert.Alert, error) {
	// ... [Key exchange processing and masterSecret derivation] ...
	if cfg.writeKeyLog != nil {
		clientRandom := state.remoteRandom.Bytes()
		cfg.writeKeyLog(keyLogLabelTLS12, clientRandom[:], state.masterSecret)
	}
 
	// VULNERABILITY: Session is saved to sessionStore immediately after ClientKeyExchange,
	// before client certificates, CertificateVerify, or Finished messages are validated.
	if len(state.SessionID) > 0 {
		s := Session{
			ID:     state.SessionID,
			Secret: state.masterSecret,
		}
		cfg.log.Tracef("[handshake] save new session: %x", s.ID)
		if err := cfg.sessionStore.Set(state.SessionID, s); err != nil {
			return false, &alert.Alert{Level: alert.Fatal, Description: alert.InternalError}, err
		}
	}
 
	state.handshakeRecvSequence = seq
	state.clientKeyExchange = nil
	state.clientFlightProcessed = true
 
	return true, nil, nil
}

Meanwhile, inside flight4Parse, the server calls flight4ProcessClientFlight first, checks whether the client sent a Finished message, and only then validates client certificates and verification hooks:

// Excerpt of flight4Parse in flight4handler.go showing validation ordering
if !state.clientFlightProcessed {
	processed, alertPtr, err := flight4ProcessClientFlight(state, cache, cfg)
	// If ClientKeyExchange was present, session is already stored here!
	if err != nil || !processed {
		return 0, alertPtr, err
	}
}
 
// If the client never sends Finished, flight4Parse exits here (returning 0, nil, nil),
// leaving the unauthenticated session active inside cfg.sessionStore.
if state.plainTextFinished == nil {
	return 0, nil, nil
}
 
// Client authentication checks happen AFTER flight4ProcessClientFlight and Finished receipt
switch cfg.clientAuth {
case RequireAnyClientCert:
	if len(state.PeerCertificates) == 0 {
		return 0, &alert.Alert{Level: alert.Fatal, Description: alert.NoCertificate}, errClientCertificateRequired
	}
// ...

To remediate this vulnerability, commit ce84b979bcb5449727b3ea5c57add4e1edb33284 removed the session storage logic from flight4ProcessClientFlight entirely and introduced a dedicated helper function, finishClientFlight. This helper is invoked only at the exit points of flight4Parse after state.plainTextFinished has been cryptographically verified and all cfg.clientAuth and cfg.verifyConnection checks have passed:

// Patched code in flight4handler.go (commit ce84b979bcb5449727b3ea5c57add4e1edb33284)
func flight4Parse(
	ctx context.Context,
	c flightConn,
	state *State,
	cache *handshakeCache,
	cfg *handshakeConfig,
) (flightVal, *alert.Alert, error) {
	// ... [Key exchange, Finished verification, and PSK checks] ...
	if state.cipherSuite.AuthenticationType() == cipherSuiteAuthenticationTypePreSharedKey {
		// ... [PSK verifyConnection checks] ...
		// FIX: Only store session after PSK Finished and verifyConnection succeed
		return finishClientFlight(state, cfg)
	}
 
	// ... [CertificateVerify signature check, clientAuth switch, and verifyConnection callback] ...
 
	// FIX: Only store session after all certificate and connection verifications succeed
	return finishClientFlight(state, cfg)
}
 
func finishClientFlight(state *State, cfg *handshakeConfig) (flightVal, *alert.Alert, error) {
	if len(state.SessionID) > 0 && cfg.sessionStore != nil {
		if err := cfg.sessionStore.Set(state.SessionID, Session{ID: state.SessionID, Secret: state.masterSecret}); err != nil {
			return 0, &alert.Alert{Level: alert.Fatal, Description: alert.InternalError}, err
		}
	}
 
	return flight6, nil, nil
}

In addition to deferring session publication until finishClientFlight, the Pion maintainers landed defense-in-depth hardening in follow-up commits (such as 2b234cd7174fc758372de0e479fc66515f54f631). This secondary hardening modified session.go and flight0handler.go to bind cached sessions to specific roles (IsClient), protocol versions, and negotiated cipher suites, and explicitly restricted session storage and resumption when client certificate authentication is enforced (cfg.clientAuth == NoClientCert || cfg.clientAuth == RequestClientCert). This ensures that even if a session store is shared across disparate configurations, a session cannot be resumed to bypass strict client certificate verification callbacks. The combination of deferred session publication and policy-bound resumption renders the fix complete against both direct premature caching and cross-configuration session confusion.

Exploitation

Exploiting CVE-2026-135389 requires network access to a UDP port running a vulnerable Pion DTLS server. Two specific server configuration prerequisites must be satisfied: the server must have a non-nil SessionStore configured in dtls.Config, and the server must allow at least one certificate-based cipher suite (e.g., TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 or TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256). No legitimate client certificate, private key, or pre-shared key is required by the attacker.

The exploitation process executes across two distinct UDP connections (or two sequential handshakes over the same socket architecture):

  1. Phase 1: Unfinished Handshake & Secret Injection: The attacker initiates a standard DTLS 1.2 connection to the target server. After completing the stateless cookie exchange (ClientHello -> HelloVerifyRequest -> ClientHello with cookie), the server responds with Flight 4 (ServerHello, Certificate, ServerKeyExchange, CertificateRequest, and ServerHelloDone). The ServerHello contains the server-assigned SessionID as well as ServerRandom, and ServerKeyExchange contains the server's ephemeral Diffie-Hellman public key.
  2. Key Derivation & Premature Publication: Instead of sending a Certificate message as demanded by CertificateRequest, the attacker generates an ephemeral key pair, sends only a ClientKeyExchange record containing their ephemeral public key, and computes the shared masterSecret locally using ClientRandom, ServerRandom, and the ECDHE shared secret. Upon receiving ClientKeyExchange, the server's flight4ProcessClientFlight computes the identical masterSecret and writes {SessionID, masterSecret} into SessionStore. The attacker then drops the connection without sending CertificateVerify or Finished.
  3. Phase 2: Session Resumption: The attacker opens a new UDP socket to the DTLS server and sends a ClientHello containing the SessionID harvested during Phase 1. After the cookie exchange, the server looks up SessionID in SessionStore, finds the cached masterSecret, and responds with an abbreviated Flight 2 (ServerHello echoing the SessionID, ChangeCipherSpec, and Finished).
  4. Channel Establishment: The attacker derives the new session traffic keys from the cached masterSecret and the new random values, verifies the server's Finished message, and replies with ChangeCipherSpec and a valid Finished message. The DTLS handshake completes, granting the attacker an authenticated session.

A public proof-of-concept and laboratory reproduction framework (https://github.com/googlesky/CVE-2026-135389) models this state differential. The test harness verifies whether sessionStore.Set is triggered during an unfinished Flight 4 parse where finishedValid and clientAuthenticated are false:

// Excerpt from lab/main.go demonstrating the state transition model
func flight4Parse(store *sessionStore, fixed bool) {
    clientKeyExchangeProcessed := true
    finishedValid := false        // client never sent a valid Finished
    clientAuthenticated := false  // client omitted its Certificate
    if !fixed || !finishedValid || !clientAuthenticated {
        _ = clientKeyExchangeProcessed
    }
    if !fixed {
        // Vulnerable path: publishes session immediately after ClientKeyExchange
        store.Set([]byte("sid"), []byte("secret"))
        return
    }
    finishClientFlight(store, finishedValid, clientAuthenticated)
}

When tested against the vulnerable code path using the accompanying verification script (poc/poc.py), the harness confirms SESSION_STORE_WRITES=1 and AUTH_BYPASS_POSSIBLE=true during an abandoned handshake, whereas the patched logic (finishClientFlight) suppresses all writes (SESSION_STORE_WRITES=0) until both Finished validation and client authentication checks succeed.

Impact Assessment

CVE-2026-135389 carries a CVSS v3.1 base score of 9.1 (Critical) with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. The attack vector is network-based (AV:N), requires low attack complexity (AC:L) with no esoteric timing or race conditions, requires no prior privileges (PR:N) or user interaction (UI:N), and directly compromises both the confidentiality (C:H) and integrity (I:H) of the underlying application data stream.

In production deployments, mutual TLS over DTLS is frequently relied upon as the primary authentication boundary for machine-to-machine (M2M) telemetry, Industrial IoT (IIoT) command-and-control endpoints, and secure CoAP (Constrained Application Protocol) gateways. When an application configures dtls.RequireAndVerifyClientCert, it assumes that any connection returning from dtls.Server() or dtls.Listen() has presented an X.509 client certificate chained to a trusted Root CA.

By exploiting this vulnerability, an unauthenticated remote attacker completely subverts this trust boundary. Once the abbreviated handshake finishes, the DTLS connection object is handed over to the upper-layer Go application as an established net.Conn. The attacker can read sensitive data emitted by the server and inject arbitrary commands or application payloads into the server.

Furthermore, if the server application implements custom authorization policies inside a VerifyConnection callback (for example, inspecting specific X.509 certificate extensions, Common Names, or organizational units), those controls are equally bypassed because VerifyConnection is not invoked before the premature cache write in the initial handshake and is not armed to block the raw master-secret resumption in vulnerable releases. Note that if the upper-layer application explicitly inspects conn.ConnectionState().PeerCertificates after the handshake completes and panics or closes the connection when the slice is empty, the post-handshake impact may be reduced or converted into a denial-of-service condition depending on application error handling.

Remediation

The primary remediation is to upgrade the github.com/pion/dtls module to a patched release that defers session caching until handshake completion and enforces strict session resumption checks. The vulnerability is patched in Pion DTLS v3.1.14 (for the v3 release line) and v4.0.0-rc.6 (for the v4 release line).

Note that the legacy v2 series (v2.1.0 through v2.2.12) is also affected; applications still importing github.com/pion/dtls/v2 must migrate to github.com/pion/dtls/v3 at version v3.1.14 or later.

# Upgrade Pion DTLS v3 to the patched release
go get github.com/pion/dtls/v3@v3.1.14
go mod tidy

For environments where an immediate dependency upgrade or binary rebuild cannot be deployed, operators and developers can apply the following configuration workarounds and defense-in-depth mitigations:

  1. Disable Session Resumption (SessionStore: nil): In the dtls.Config struct passed to dtls.Server or dtls.Listen, explicitly set SessionStore: nil (or omit the field, as nil is the default when not using custom session caching). Without an active SessionStore, the server cannot cache or resume sessions, forcing every client to complete a full handshake through flight4Parse and undergo full client certificate verification.
  2. Verify Peer Certificates Post-Handshake: As a defense-in-depth measure at the application layer, verify that conn.ConnectionState().PeerCertificates is non-empty and matches expected identity constraints immediately after dtls.Server handshakes complete, before passing the connection to application request handlers.
// Defense-in-depth workaround in Go server code
config := &dtls.Config{
	Certificates: []tls.Certificate{serverCert},
	ClientAuth:   dtls.RequireAndVerifyClientCert,
	ClientCAs:    clientCAPool,
	// MITIGATION: Ensure SessionStore is nil if running < v3.1.14
	SessionStore: nil,
}

Official Patches

PionOfficial Pion DTLS GitHub Security Advisory (GHSA-hhpj-h56m-9f2p)
PionOfficial Fix Pull Request #1234 in pion/dtls
PionPion DTLS v3.1.14 Patched Release
PionPion DTLS v4.0.0-rc.6 Patched Release

Fix Analysis (2)

Technical Appendix

CVSS Score
9.1/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Probability
0.73%
Top 44% most exploited

Affected Systems

Pion DTLS v2 (v2.1.0 - v2.2.12)Pion DTLS v3 (v3.0.0 - v3.1.13)Pion DTLS v4 (v4.0.0-rc.1 - v4.0.0-rc.5)

Affected Versions Detail

Product
Affected Versions
Fixed Version
github.com/pion/dtls/v2
Pion
>= 2.1.0, <= 2.2.12v3.1.14
github.com/pion/dtls/v3
Pion
>= 3.0.0, < 3.1.14v3.1.14
github.com/pion/dtls/v4
Pion
< 4.0.0-rc.6v4.0.0-rc.6
AttributeDetail
CVE / GHSA IDCVE-2026-135389 / GHSA-hhpj-h56m-9f2p
Vulnerability ClassCWE-287 (Improper Authentication) / CWE-303
CVSS v3.1 Score9.1 Critical (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
EPSS Score0.735% (55.71th Percentile)
Affected ComponentPion DTLS (flight4handler.go / flight4ProcessClientFlight)
ImpactUnauthenticated Mutual TLS (Client Certificate) Bypass
Exploit StatusPublic Proof-of-Concept Available
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1078Valid Accounts
Initial Access
CWE-287
Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct, or commits authentication state to storage prior to completing verification steps (CWE-303).

Known Exploits & Detection

GitHubPublic PoC reproduction laboratory and differential state verification harness for CVE-2026-135389.

Vulnerability Timeline

Vulnerability discovered via Anthropic OSS Scanner (ANT-2026-8ECSI13S, Issue #1228) and core fix committed to pion/dtls.
2026-10-16
Official security advisory GHSA-hhpj-h56m-9f2p and CVE-2026-135389 published; Pion DTLS v3.1.14 and v4.0.0-rc.6 released.
2026-11-24
NVD and OSV databases updated with CVSS v3.1 scoring (9.1 Critical) and affected version ranges.
2026-11-28
Public PoC and laboratory reproduction model published on GitHub.
2026-12-01

References & Sources

  • [1]GitHub Security Advisory GHSA-hhpj-h56m-9f2p
  • [2]Pion DTLS Pull Request #1234
  • [3]Fix Commit ce84b979bcb5449727b3ea5c57add4e1edb33284 (v3)
  • [4]Fix Commit 410ac0ef28df49757d3a695c10dda75137e1dbf2 (v4)
  • [5]Pion DTLS Release v3.1.14
  • [6]Pion DTLS Release v4.0.0-rc.6
  • [7]CVE.org Record: CVE-2026-135389
  • [8]NVD Detail: CVE-2026-135389
  • [9]CVEListV5 JSON Record for CVE-2026-135389
  • [10]Public PoC and Reproduction Laboratory for CVE-2026-135389

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•3 minutes ago•CVE-2026-92542
6.9

CVE-2026-92542: Blind VXLAN Injection into Encrypted Overlay Networks in Docker Engine and Moby

CVE-2026-92542 (GHSA-6m9p-4h64-m6vh) is an authentication bypass by spoofing and confused deputy vulnerability in the overlay network driver (libnetwork) of Docker Engine and Moby. The firewall rules responsible for marking outgoing VXLAN datagrams for IPsec encryption fail to distinguish between authentic VXLAN packets generated by the Linux kernel and forged UDP packets sent by local userspace processes. Consequently, an unprivileged user or process executing in the host network namespace of a Linux Docker Swarm node can transmit crafted VXLAN datagrams that the kernel automatically encrypts and routes to peer nodes, enabling blind injection of arbitrary Ethernet frames into encrypted overlay networks.

Amit Schendel
Amit Schendel
0 views•12 min read
•about 2 hours ago•CVE-2026-141546
5.0

CVE-2026-141546: Path Traversal and Arbitrary File Write in KiCad MCP Pro Variant Export Tools

CVE-2026-141546 (GHSA-wfmg-598x-58c5) is a path traversal vulnerability (CWE-22) in KiCad MCP Pro prior to version 4.20.1. Three variant export tools in src/kicad_mcp/tools/variants.py construct target output paths by joining unvalidated user-supplied arguments directly onto the validated output directory using Python's pathlib.Path concatenation operator. A caller invoking these tools with path traversal sequences or absolute file paths can bypass the KICAD_MCP_WORKSPACE_ROOT confinement boundary to create directories and write or overwrite arbitrary files on the host filesystem.

Alon Barad
Alon Barad
6 views•9 min read
•about 3 hours ago•CVE-2026-141553
5.5

CVE-2026-141553: Path Traversal and Arbitrary File Overwrite in termux-sync Restore Routine

CVE-2026-141553 (GHSA-x9x8-xcv7-5x5g) is a medium-severity path traversal and arbitrary file overwrite vulnerability in termux-sync prior to version 1.3.8. During backup restoration, the cmd_restore function computes the extraction containment boundary as the parent directory of the target backup folder ($PREFIX or .../files) rather than the specific subdirectory itself. Consequently, a crafted backup archive (such as usr_etc.tar.gz) can extract files into sibling directories like $PREFIX/bin, overwriting system executables such as $PREFIX/bin/sh and achieving arbitrary code execution within the Termux user context.

Alon Barad
Alon Barad
7 views•10 min read
•about 4 hours ago•CVE-2026-14534
8.8

CVE-2026-14534: Security Gate Bypass and Remote Code Execution in Trail of Bits Fickling via Incomplete Module Blocklist

CVE-2026-14534 (GHSA-m6fh-58r7-x697, PYSEC-2026-2149) is a high-severity security verification bypass in Trail of Bits Fickling up to version 0.1.10. Fickling is a Python pickle decompiler and static analysis tool used to detect malicious payloads in serialized objects and machine learning models. The vulnerability stems from an incomplete module blocklist (CWE-184) within Fickling's static analysis engine, which omitted the Python standard library modules _posixsubprocess, site, and atexit. Because Fickling classifies unblocked standard library imports as benign, malicious pickle streams utilizing these modules receive a LIKELY_SAFE verdict. When applications rely on fickling.load() or fickling.loads() as a defensive gate prior to deserialization, the bypass allows untrusted pickle bytecode to pass directly into Python's native pickle.loads(), resulting in arbitrary code execution (CWE-502).

Amit Schendel
Amit Schendel
7 views•10 min read
•about 6 hours ago•CVE-2026-141555
4.7

CVE-2026-141555: Cross-Site Scripting via Raw-Text Comment Breakout in lxml-html-clean

CVE-2026-141555 (GHSA-vfhw-gfwp-vxfj) is a Cross-Site Scripting (XSS) vulnerability in the Python HTML sanitization library lxml-html-clean prior to version 0.4.7. The vulnerability stems from a parser differential between libxml2 and HTML5 browser parsing engines when handling HTML comments nested within raw-text and escapable raw-text elements (such as <noscript>, <textarea>, <title>, and <iframe>). When the cleaner is instantiated with the non-default configuration comments=False, an attacker can embed a closing tag inside an HTML comment to prematurely terminate the raw-text container in the client browser and execute arbitrary JavaScript.

Alon Barad
Alon Barad
7 views•10 min read
•about 7 hours ago•CVE-2026-141556
4.7

CVE-2026-141556: Cross-Site Scripting Bypass via iframe srcdoc and SVG Animation Attributes in lxml-html-clean

CVE-2026-141556 (GHSA-5gvf-7wqf-r4cv) is an input sanitization bypass vulnerability resulting in Cross-Site Scripting (XSS) in lxml-html-clean versions through 0.4.6. When the Cleaner class is initialized with safe_attrs_only=False and javascript=True, the link sanitization mechanism relies exclusively on lxml.html.defs.link_attrs via doc.rewrite_links(). Because this attribute list omits the iframe srcdoc attribute and SVG SMIL animation value attributes (to, from, by, values), attackers can inject arbitrary HTML and JavaScript payloads that survive sanitization.

Amit Schendel
Amit Schendel
10 views•11 min read