Skip to content

Unauthenticated HTTP API Endpoints (v0.4.3)

High
julien040 published GHSA-5f7p-rhmq-hvc7 Oct 2, 2025

Package

llm.go (julien040/anyquery)

Affected versions

<=0.4.3

Patched versions

0.4.4

Description

Summary

Attackers who have already gained access to localhost, even with low privileges, can use the http server through the port unauthenticated, and access private integration data like emails, without any warning of a foreign login from the provider. Might be worse if it's hosted on 0.0.0.0 depending on firewall rules.

PoC

  1. Install the imap integration and set up Gmail
  2. Run with "anyquery gpt --host 127.0.0.1 --port 8080"
  3. Make any SELECT query you'd like to the /execute-query endpoint using curl POST, likely FROM imap_emails

Impact

Anyone who has integrations with sensitive data is affected, the CVSS is much higher if the sensitive data is in local tables

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVE ID

CVE-2025-61679

Weaknesses

Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Learn more on MITRE.

Improper Access Control

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. Learn more on MITRE.

Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. Learn more on MITRE.

Credits