Improper Authentication Affecting github.com/julien040/anyquery/cmd package, versions <0.4.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMJULIEN040ANYQUERYCMD-13307314
  • published6 Oct 2025
  • disclosed3 Oct 2025
  • creditKerem Ergür

Introduced: 3 Oct 2025

CVE-2025-61679  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade github.com/julien040/anyquery/cmd to version 0.4.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication via the http server port. An attacker can retrieve sensitive integration data, such as email addresses, by sending unauthenticated requests to the listening port on localhost.

Note:

This is only exploitable if the attacker has access to the localhost interface.

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

CVSS Base Scores

version 4.0
version 3.1