CVE-2026-34031: Apache Answer unrestricted upload in profile image URLs

CVE-2026-34031 · Severity: medium · CVSS 6.5 · Published 2026-06-09

Apache Answer, a Q&A platform, contains a vulnerability where it fails to properly validate user-supplied image URLs for profile avatars. This allows an attacker to embed arbitrary external content, which can be used to track users or trigger unintended requests to third-party servers when a user views the affected profile. Organizations should update to version 2.0.1 to prevent potential privacy leaks and unauthorized tracking of their users.

Technologies: Apache Software Foundation Answer, github.com/apache/answer (Go), github.com/apache/incubator-answer (Go). Vendors: Apache Software Foundation, Go.

Quick answers

Is CVE-2026-34031 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-34031 being exploited in the wild.
How severe is CVE-2026-34031?
Medium severity, with a CVSS score of 6.5, published 9 June 2026.
Which products and versions are affected?
Apache Software Foundation Answer through 2.0.0; github.com/apache/answer (Go) SEMVER:introduced=0,fixed=1.7.2-0.20260511040518-11091244f64e; github.com/apache/incubator-answer (Go) < 1.7.2-0.20260511040518-11091244f64e, SEMVER:introduced=0,fixed=1.7.2-0.20260511040518-11091244f64e.
Is there a fix for CVE-2026-34031?
Yes. github.com/apache/answer (Go): upgrade to 1.7.2-0.20260511040518-11091244f64e or later; github.com/apache/incubator-answer (Go): upgrade to 1.7.2-0.20260511040518-11091244f64e or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-34031 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-34031?
Check whether you run Apache Software Foundation Answer, github.com/apache/answer (Go) or github.com/apache/incubator-answer (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/apache/answer (Go): upgrade to 1.7.2-0.20260511040518-11091244f64e or later
    go get github.com/apache/answer@v1.7.2-0.20260511040518-11091244f64e
  • github.com/apache/incubator-answer (Go): upgrade to 1.7.2-0.20260511040518-11091244f64e or later
    go get github.com/apache/incubator-answer@v1.7.2-0.20260511040518-11091244f64e

Technical details

A vulnerability classified as CWE-434 (Unrestricted Upload of File with Dangerous Type) exists in Apache Answer through version 2.0.0. The application fails to sufficiently validate URLs provided for custom profile avatars, allowing the embedding of arbitrary external content. An unauthenticated remote attacker can exploit this to perform tracking of users via third-party servers or trigger unintended external requests. The fix, introduced in version 2.0.1, enhances avatar validation by adding checks for custom avatar URLs and improving image decoding checks for standard formats like JPEG, PNG, and GIF.

Affected products

  • Apache Answer through 2.0.0

Identifiers

  • CVE-2026-34031
  • GHSA-x4f6-mqg6-28xx
  • GO-2026-6154

Timeline

  • 2026-05-29: patched: Version 2.0.1 released
  • 2026-06-09: disclosed: Initial advisory publication
  • 2026-06-09: advisory: GitHub and NVD advisories published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.