Read the docs
TI-2022-13184 Aliases CVE-2022-31140GHSA-5pgm-3j3g-2rc7

Valinor error messages leading to potential data exfiltration

Priority HIGH 78CWE-209Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-209.

Summary

Valinor is a PHP library that helps to map any input into a strongly-typed value object structure. Prior to version 0.12.0, Valinor can use `Throwable#getMessage()` when it should not have permission to do so. This is a problem with cases such as an SQL exception showing an SQL snippet, a database connection exception showing database IP address/username/password, or a timeout detail / out of memory detail. Attackers could use this information for potential data exfiltration, denial of service attacks, enumeration attacks, etc. Version 0.12.0 contains a patch for this vulnerability.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01486 74th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Valinor (CuyZ): 0.12.0cuyz/valinor (Packagist): 0.12.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
CuyZValinorbefore 0.12.00.12.0Patch availableCNA
—cuyz/valinor (Packagist)before 0.12.00.12.0Patch availableGHSA-5pgm-3j3g-2rc7
  • Valinor VendorCuyZ Affected before 0.12.0 Fixed in 0.12.0 Patch available CNA
  • cuyz/valinor (Packagist) Vendor— Affected before 0.12.0 Fixed in 0.12.0 Patch available GHSA-5pgm-3j3g-2rc7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:cuyz:valinor:*:*:*:*:*:*:*:*before 0.12.0VulnerableCuyZ
  • cpe:2.3:a:cuyz:valinor:*:*:*:*:*:*:*:* Versions before 0.12.0 Vulnerable ·CuyZ

Remediation

  • Fix · CNA Valinor (CuyZ) Fixed in 0.12.0
  • Fix · GHSA-5pgm-3j3g-2rc7 cuyz/valinor (Packagist) Fixed in 0.12.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-31140
  2. 2026-10-03 Alias added: GHSA-5pgm-3j3g-2rc7

References

Sources