CVE-2022-30331
Python vulnerability analysis and mitigation

Overview

The User-Defined Functions (UDF) feature in TigerGraph 3.6.0 allows installation of a query (in the GSQL query language) without proper validation, potentially enabling arbitrary C++ code execution. This vulnerability has been assigned CVE-2022-30331 with a CVSS v3.1 base score of 8.8 (High) (AttackerKB, TigerGraph Docs).

Technical details

The vulnerability exists in TigerGraph's UDF feature which allows creation of custom functions in native C++ for high-speed data manipulation. The CVSS metrics indicate Network attack vector, Low attack complexity, Low privileges required, and No user interaction needed. The vulnerability impacts Confidentiality, Integrity, and Availability, all rated as High (AttackerKB).

Impact

If exploited, this vulnerability could allow an attacker to execute arbitrary C++ code within the TigerGraph environment. The impact is significant with potential for unauthorized access, data manipulation, and system compromise. However, the vendor notes that this requires superuser access and proper code review processes should prevent malicious code installation (TigerGraph Docs).

Mitigation and workarounds

TigerGraph has implemented several mitigations: 1) Starting with version 3.8.0, UDF uploading is disabled by default and requires administrator privileges to enable. 2) Version 3.9.0 introduced UDF File Scanning that blocks certain C++ code from being loaded. Additional recommended security measures include proper credential configuration, limiting WRITE_FILE privileges to trusted users, implementing secure software development lifecycle processes, and ensuring proper security of GitHub repositories if used for UDF storage (TigerGraph Docs).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22033HIGH8.6
  • PythonPython
  • label-studio
NoNoJan 12, 2026
CVE-2025-68472HIGH8.1
  • PythonPython
  • mindsdb
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf2
NoYesJan 10, 2026
CVE-2026-22250LOW2.5
  • PythonPython
  • wlc
NoYesJan 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management