# CVE-2024-26138: License information is public, exposing instance id and license holder details

> Public exposure of license details allows attackers to obtain instance IDs and owner contact information for targeted phishing.

- **Severity:** Medium 5.3 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 21 Feb 2024
- **Updated:** 22 Apr 2025
- **Also known as:** GHSA-4hfp-m9gv-m753

## What is CVE-2024-26138?

CVE-2024-26138 is a medium-severity vulnerability in xwikisas application-licensing, published on 21 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The XWiki licensor application, which manages and enforce application licenses for paid extensions, includes the document `Licenses.Code.LicenseJSON` that provides information for admins regarding active licenses. This document is public and thus exposes this information publicly. The information includes the instance's id as well as first and last name and email of the license owner. This is a leak of information that isn't supposed to be public. The instance id allows associating data on the active installs data with the concrete XWiki instance. Active installs assures that "there's no way to find who's having a given UUID" (referring to the instance id). Further, the information who the license owner is and information about the obtained licenses can be used for targeted phishing attacks. Also, while user information is normally public, email addresses might only be displayed obfuscated,  depending on the configuration. This has been fixed in Application Licensing 1.24.2. There are no known workarounds besides upgrading.

Weakness: CWE-862 (Missing Authorization)

## Which versions are affected by CVE-2024-26138?

2 open source packages ship an affected version, including com.xwiki.licensing:application-licensing-licensor-ui. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `com.xwiki.licensing:application-licensing-licensor-ui` | Maven | From 1.0 | 1.24.2 |
| `com.xwiki.licensing:application-licensing-licensor-ui` | Maven | From 1.0 | 1.24.2 |

Products: Xwiki Application Licensing.

## How do I fix CVE-2024-26138?

Upgrade com.xwiki.licensing:application-licensing-licensor-ui to 1.24.2 or later.

## Is CVE-2024-26138 being exploited?

There is no known exploitation of CVE-2024-26138 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-26138 and fix it if it is affected.

What it is: CVE-2024-26138 is a medium-severity vulnerability in xwikisas application-licensing, published on 21 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-26138 in the wild and no public exploit code.

Affected packages and fixed versions:
- com.xwiki.licensing:application-licensing-licensor-ui (Maven): affected from 1.0; fixed in 1.24.2
- com.xwiki.licensing:application-licensing-licensor-ui (Maven): affected from 1.0; fixed in 1.24.2

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-2024-26138/ (Markdown: https://insights.sbomify.com/CVE-2024-26138/index.md)
```

## Sources

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

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