Home / sroehrl / neoan3-template / CVE-2021-41170
CVE-2021-41170: is it exploited, and which versions of sroehrl neoan3-template are affected and fixed?
CVE-2021-41170 is an insecure Inherited Permissions vulnerability in sroehrl neoan3-template. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: neoan3-apps/template before 1.1.1 (GitHub advisory GHSA-3v56-q6r6-4gcw). Fixed in 1.1.1 (GitHub advisory GHSA-3v56-q6r6-4gcw). Severity: Critical (9.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-41170?
Evaluation of closures can lead to execution of methods & functions in current program scope
neoan3-apps/template is a neoan3 minimal template engine. Versions prior to 1.1.1 have allowed for passing in closures directly into the template engine. As a result values that are callable are executed by the template engine. The issue arises if a value has the same name as a method or function in scope and can therefore be executed either by mistake or maliciously. In theory all users of the package are affected as long as they either deal with direct user input or database values. A multi-step attack on is therefore plausible. Version 1.1.1 has addressed this vulnerability. Unfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade.
From the CVE record by GitHub_M, last updated August 4, 2024, 02:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sroehrl | neoan3-template | < 1.1.1 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | neoan3-apps/template | < 1.1.1 | 1.1.1 | GHSA-3v56-q6r6-4gcw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 8, 2021. Summary: Insecure Inherited Permissions in neoan3-apps/template.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| neoan | neoan3-template | before 1.1.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:08 UTC.
How severe is CVE-2021-41170?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-41170 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.58% probability of exploitation activity in the next 30 days, percentile 76.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-277 Insecure Inherited Permissions
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-732 Incorrect Permission Assignment for Critical Resource
Where are the vendor advisories and references?
- https://github.com/sroehrl/neoan3-template/security/advisories/GHSA-3v56-q6r6-4gcw x_refsource_CONFIRM
- https://github.com/sroehrl/neoan3-template/issues/8 x_refsource_MISC
- https://github.com/sroehrl/neoan3-template/commit/4a2c9570f071d3c8f4ac790007599cba20e16934 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 15, 2021
- Published
- November 8, 2021, 19:10 UTC
- CVE record updated
- August 4, 2024, 02:59 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:08 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2021-41170
Is CVE-2021-41170 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 1.58% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of sroehrl neoan3-template are affected by CVE-2021-41170?
neoan3-apps/template before 1.1.1, per the GitHub advisory GHSA-3v56-q6r6-4gcw. The tables above give every range the sources list.
Which version fixes CVE-2021-41170?
1.1.1, per the GitHub advisory GHSA-3v56-q6r6-4gcw. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-41170?
Critical (9.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-41170?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.