Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-48069— ejson2env has insufficient input sanitization

Quick assessment

Affected
Shopify ejson2env
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ejson2env是Shopify开源的一个解密EJSON机密并将其导出为环境变量的工具。 ejson2env 2.0.8之前版本存在操作系统命令注入漏洞,该漏洞源于输出清理不足,可能导致命令注入。

CVSS 6.6 · Medium EPSS 1.42% · P73
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-48069

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ejson2env has insufficient input sanitization
Source: CVE Program / CVE List V5
Vulnerability Description
ejson2env allows users to decrypt EJSON secrets and export them as environment variables. Prior to version 2.0.8, the `ejson2env` tool has a vulnerability related to how it writes to `stdout`. Specifically, the tool is intended to write an export statement for environment variables and their values. However, due to inadequate output sanitization, there is a potential risk where variable names or values may include malicious content, resulting in additional unintended commands being output to `stdout`. If this output is improperly utilized in further command execution, it could lead to command injection, allowing an attacker to execute arbitrary commands on the host system. Version 2.0.8 sanitizes output during decryption. Other mitigations involve avoiding use of `ejson2env` to decrypt untrusted user secrets and/or avoiding evaluating or executing the direct output from `ejson2env` without removing nonprintable characters.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
ejson2env 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ejson2env是Shopify开源的一个解密EJSON机密并将其导出为环境变量的工具。 ejson2env 2.0.8之前版本存在操作系统命令注入漏洞,该漏洞源于输出清理不足,可能导致命令注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Shopify ejson2env < 2.0.8 -

II. Public POCs for CVE-2025-48069

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-48069

请登录查看更多情报信息。

IV. Related Vulnerabilities