LiveActive security incident?Get immediate response
CVE Record

CVE-2019-1010260: Using ktlint to download and execute custom rulesets can result in arbitrary code execution as the served j...

Using ktlint to download and execute custom rulesets can result in arbitrary code execution as the served jars can be compromised by a MITM. This attack is exploitable via Man in the Middle of the HTTP connection to the artifact servers. This vulnerability appears to have been fixed in 0.30.0 and later; after commit 5e547b287d6c260d328a2cb658dbe6b7a7ff2261.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Older ktlint versions could download and run custom ruleset JARs over an HTTP path vulnerable to man-in-the-middle tampering. If an attacker controlled that connection, ktlint could execute attacker-supplied code during developer or CI linting. Sources identify ktlint 0.29.0 and earlier as affected, with a fix in 0.30.0 and later.

Executive priority

Prioritize remediation where ktlint runs in CI or trusted developer environments, because compromise could turn routine linting into code execution inside build infrastructure. Urgency is lower where custom rulesets are not downloaded or affected versions are absent.

Technical view

CVE-2019-1010260 affects ktlint custom ruleset download and execution behavior. The issue is arbitrary code execution if served JARs are compromised through a MITM attack against HTTP artifact server connections. The source bundle cites a fix after commit 5e547b287d6c260d328a2cb658dbe6b7a7ff2261, released in ktlint 0.30.0 and later.

Likely exposure

Exposure is most likely in development workstations, CI jobs, or build systems using ktlint 0.29.0 or earlier with downloaded custom rulesets, especially where artifact retrieval used HTTP or otherwise MITM-exposed paths.

Exploitation context

The provided sources describe exploitability through man-in-the-middle compromise of the HTTP connection to artifact servers. The bundle does not cite active exploitation, and KEV is false, so active exploitation is not established here.

Researcher notes

Evidence is limited to the CVE description and the referenced ktlint pull request. No CVSS, CWE, CPE, or active exploitation evidence is provided. Validate exposure by combining version inventory with configuration review for custom ruleset downloads and artifact transport security.

Mitigation direction

  • Upgrade ktlint to 0.30.0 or later.
  • Check the referenced ktlint pull request and vendor guidance for upgrade details.
  • Identify builds that download ktlint custom rulesets from artifact servers.
  • Reduce exposure to unauthenticated HTTP artifact retrieval where feasible.

Validation and detection

  • Inventory ktlint versions in developer tooling and CI images.
  • Flag ktlint 0.29.0 and earlier as affected.
  • Review ktlint usage for downloaded custom rulesets.
  • Check artifact repository URLs for HTTP transport exposure.
  • Confirm upgraded environments run ktlint 0.30.0 or later.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2019-1010260 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
ktlintktlint0.29.0 and earlier [fixed: 0.30.0 and later - after commit 5e547b287d6c260d328a2cb658dbe6b7a7ff2261]Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.