Skip to content
Emerging threatsCritical

CVE-2021-42342Goahead Unrestricted File Upload

In the file upload filter, user form variables can be passed to CGI scripts without being prefixed with the CGI prefix.

Published Oct 14, 2021 · Updated Nov 21, 2024

Key Facts

Patch immediately
  • CVE-2021-42342 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Goahead (Embedthis).
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 59% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Goahead <=4.1.3, Goahead 4.1.3.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

59%

Higher than 99.1% of all scored CVEs

Exploit maturity

None known

ATLAS score

28/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Advisories And Exploit References

Description

An issue was discovered in GoAhead 4.x and 5.x before 5.1.5. In the file upload filter, user form variables can be passed to CGI scripts without being prefixed with the CGI prefix. This permits tunneling untrusted environment variables into vulnerable CGI scripts.

Affected Products

1 affected entries in total
ProductAffected versionsFixed in
GoaheadEmbedthisSee advisory4.1.3

Patched Releases

Goahead

<=4.1.3

Timeline

  1. Publicly disclosed

    Oct 14, 2021

  2. Last updated

    Nov 21, 2024

Weakness Type

  • CWE-434 Unrestricted Upload of File with Dangerous Type

References

FAQ

Common Questions.

Is CVE-2021-42342 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.