# CVE-2025-24355: Updatecli may expose Maven credentials in console output

> Updatecli leaks Maven credentials in logs during failed retrieval operations, exposing sensitive authentication data to anyone with log access.

- **Severity:** High 7.1 (`CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 24 Jan 2025
- **Updated:** 12 Feb 2025
- **Also known as:** GHSA-v34r-vj4r-38j6, GO-2025-3419

## What is CVE-2025-24355?

CVE-2025-24355 is a high-severity vulnerability in updatecli, published on 24 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Updatecli is a tool used to apply file update strategies. Prior to version 0.93.0, private maven repository credentials may be leaked in application logs in case of unsuccessful retrieval operation. During the execution of an updatecli pipeline which contains a `maven` source configured with basic auth credentials, the credentials are being leaked in the application execution logs in case of failure. Credentials are properly sanitized when the operation is successful but not when for whatever reason there is a failure in the maven repository, e.g. wrong coordinates provided, not existing artifact or version. Version 0.93.0 contains a patch for the issue.

Weakness: CWE-359 (Exposure of Private Personal Information to an Unauthorized Actor)

## Which versions are affected by CVE-2025-24355?

3 open source packages ship an affected version, including github.com/updatecli/updatecli.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/updatecli/updatecli` | Go | All versions | 0.93.0 |
| `github.com/updatecli/updatecli` | Go | All versions | 0.93.0 |
| `github.com/updatecli/updatecli` | Go | All versions | 0.93.0 |

## How do I fix CVE-2025-24355?

Upgrade github.com/updatecli/updatecli to 0.93.0 or later.

## Is CVE-2025-24355 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24355 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-24355 and fix it if it is affected.

What it is: CVE-2025-24355 is a high-severity vulnerability in updatecli, published on 24 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24355 exists.

Affected packages and fixed versions:
- github.com/updatecli/updatecli (Go): affected all versions; fixed in 0.93.0
- github.com/updatecli/updatecli (Go): affected all versions; fixed in 0.93.0
- github.com/updatecli/updatecli (Go): affected all versions; fixed in 0.93.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-24355/ (Markdown: https://insights.sbomify.com/CVE-2025-24355/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-24355
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-24355
- OSV: https://osv.dev/vulnerability/CVE-2025-24355

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-24355/
Summaries are generated and may contain mistakes; the official description above is the record.
