Entertainment community project · Unofficial, not affiliated with CVE / CNVD / NVD · All entries are public information · Disclaimer

LVELVE
  • In-house audit
  • Self-deceiving fix
  • LVE-2026-0027

Severenoqa: S105 suppressions on Apache Superset's placeholder secret constants(LVE-2026-0027)

Mute the scanner, then refuse to boot in production — a mute with receipts.

LVE ID
LVE-2026-0027
Verdict
Not exploitable in practice
Affected product / version
Apache Superset · Superset default configuration (SECRET_KEY not set) · c6ccd87
Published
2026-11-28

Description

Superset's constants.py defines several placeholder secrets that read like "change me to a complex random secret", each followed by # noqa: S105 to silence the Ruff/Bandit hard-coded-password rule. It looks like "if the scanner complains, mute the scanner".

Why it is harmless

  1. The constants are "not configured" markers: if SECRET_KEY still equals the placeholder at start-up, outside debug/testing Superset logs an error and calls sys.exit(1).

  2. GUEST_TOKEN_JWT_SECRET gets the same check when embedding is enabled.

  3. The check was added after CVE-2023-27524 (session forgery with an unchanged default SECRET_KEY); in the current code the placeholder can only take effect in debug / test mode.

Location

Read the three placeholders in superset/constants.py, the SECRET_KEY assignment in config.py, and the refuse-to-start check in initialization/init.py.

References

Show per-metric scoring rationale

DS score and vector · Per-metric breakdownScoring rubric →

  • PRPrecondition / Required privilege

    NNo precondition

    Triggers anonymously — the hallmark of a real bug, so no penalty.

    +0 / 5

  • IMReal impact

    DTest / debug data only

    Only touches test environments, samples or debug data; production data is unharmed.

    +3 / 5

  • EXReachability in default production config

    GDEBUG / dev mode only

    Exists only with DEBUG or dev mode on, which the docs say never to enable in production.

    +3 / 5

  • PBPublicity / by design

    POpenly public all along

    The repo is public, the version is on the homepage, the password is in the README — it was never a secret.

    +4 / 4

  • VBVendor / maintainer behavior

    HSelf-deceiving “fix”

    Hid a button, reworded a label, or renamed the bug a feature — then declared it “fully fixed”.

    +4 / 4

  • FPFalse-positive factor

    PReal but wildly exaggerated

    It happened, but the description or rating is blown wildly out of proportion.

    +1 / 4

Total S =15/ 41 →DS 8= min(10, 1 + ⌊S / 2⌋)

Seen something just as lame?

Fill in the form in two minutes. Once a maintainer approves it, your GitHub handle is credited on the entry — permanently.

No account on this site needed — just GitHub.