Intel

AIKIDO-2025-10758

code.gitea.io/gitea is vulnerable to Insertion of Sensitive Information into Log File

Insertion of Sensitive Information into Log File Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 31, 2025

25

Low Risk

This Affects:

GOcode.gitea.io/gitea
1.12.5 - 1.24.6
Fixed in 1.24.7
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to information disclosure due to unsanitized logging of Elasticsearch and Meilisearch connection strings. Because these connection strings can include credentials (e.g., protocol://username:password@host:port), sensitive information such as passwords could be exposed in plain text in log files. The fix wraps all instances of setting.Indexer.RepoConnStr and setting.Indexer.IssueConnStr with the util.SanitizeCredentialURLs() function to remove credentials before logging.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

code.gitea.io/gitea is vulnerable to Insertion of Sensitive Information into Log File in versions 1.12.5 - 1.24.6.

How to fix this

Upgrade the code.gitea.io/gitea library to the patch version.