CVE-2026-34031 Apache Answer: The custom avatar was not properly validated

Medium 6.5 Published Updated

Attackers can embed arbitrary external content as profile images, exposing users to tracking and unintended external requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-34031?

CVE-2026-34031 is a medium-severity vulnerability in Apache Answer, published on 9 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Unrestricted Upload of File with Dangerous Type vulnerability in Apache Answer.

This issue affects Apache Answer: through 2.0.0.

The server did not sufficiently validate user-supplied image URLs, allowing arbitrary external content to be embedded as profile images, which could expose users to unintended external requests and tracking by third-party servers. Users are recommended to upgrade to version 2.0.1, which fixes the issue.

Weakness: CWE-434

Which versions are affected by CVE-2026-34031?

3 open source packages ship an affected version, including github.com/apache/incubator-answer and github.com/apache/answer. It affects 1 product.

PackageAffectedFixed in
github.com/apache/incubator-answer GoAll versions1.7.2-0.20260511040518-11091244f64e
github.com/apache/incubator-answer GoAll versions1.7.2-0.20260511040518-11091244f64e
github.com/apache/answer GoAll versions1.7.2-0.20260511040518-11091244f64e

Products include Apache Answer.

How do I fix CVE-2026-34031?

Upgrade github.com/apache/incubator-answer to 1.7.2-0.20260511040518-11091244f64e or later.

Is CVE-2026-34031 being exploited?

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

Sources

Also known as GHSA-x4f6-mqg6-28xx, GO-2026-6154.

Is CVE-2026-34031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free