Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42507: CWE-532: Insertion of Sensitive Information into Log File in Go standard library net/textproto

0
Medium
VulnerabilityCVE-2026-42507gcvecve-2026-42507cwe-532
Published: Tue Jun 02 2026 (06/02/2026, 22:01:37 UTC)
Source: GCVE Database
Vendor/Project: Go standard library
Product: net/textproto

Description

CVE-2026-42507 is a vulnerability in the Go standard library's net/textproto package where error messages include the input data as part of the error output. This behavior can lead to insertion of sensitive or misleading information into logs or error messages. There is no CVSS score or vendor advisory indicating a patch or mitigation status. No known exploits are reported in the wild.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 01:48:47 UTC

Technical Analysis

The vulnerability arises because functions in the net/textproto package return errors that embed the input data directly within the error message. This can allow an attacker to inject misleading or sensitive information into logs or error outputs, potentially confusing administrators or exposing sensitive data. The affected versions include Go standard library versions up to 1.26.0-0. No patch or official remediation guidance is currently available.

Potential Impact

The impact is limited to the potential insertion of misleading or sensitive information into error logs or printed error messages. This could lead to confusion during troubleshooting or inadvertent exposure of sensitive data in logs. There are no reports of active exploitation or further impact such as code execution or denial of service.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should be cautious about logging or displaying error messages from the net/textproto package that may contain untrusted input. Consider sanitizing or filtering error outputs before logging or displaying them.

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
Go
Date Reserved
2026-04-28T00:21:12.792Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null
Gcve Source
db.gcve.eu

Threat ID: 6a1f872ae29bf47b5044bf0b

Added to database: 6/3/2026, 1:45:14 AM

Last enriched: 6/3/2026, 1:48:47 AM

Last updated: 6/3/2026, 3:14:03 AM

Views: 4

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