Skip to content

docs(security): document the GDAL 3.12 VRT options and how to remove the expression parameter - #1476

Merged
vincentsarago merged 1 commit into
developmentseed:mainfrom
ishiland:docs/security-gdal-312-and-expression-hardening
Aug 5, 2026
Merged

docs(security): document the GDAL 3.12 VRT options and how to remove the expression parameter#1476
vincentsarago merged 1 commit into
developmentseed:mainfrom
ishiland:docs/security-gdal-312-and-expression-hardening

Conversation

@ishiland

@ishiland ishiland commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Two documentation updates to SECURITY.md, from running TiTiler as an internal sidecar behind an authorizing proxy.

GDAL 3.12 VRT options

The page currently says new variables "might be introduced" in GDAL 3.12 and links the PR. They shipped, so this names them and their defaults:

  • GDAL_VRT_ENABLE_RAWRASTERBAND, default YES
  • GDAL_VRT_RAWRASTERBAND_ALLOWED_SOURCE, default SIBLING_OR_CHILD_OF_VRT_PATH

Both defaults are verified against the VRT driver docs. This matters for deployments where GDAL_SKIP=VRT is not an option because VRT datasets are a product feature, which the existing text does not cover.

I also added the GDAL 3.13.2 restriction on the /vsicurl/ header_file option, verified against the virtual file systems docs.

Removing the expression parameter

The page documents restricting sources with path_dependency but nothing about band math. Applications that only need band selection can drop the parameter entirely with layer_dependency=BidxParams, which is a stronger guarantee than relying on validation.

I ran the example against titiler.core 2.2.1 and confirmed expression disappears from the OpenAPI schema while bidx is unaffected.

Happy to split this into two PRs, drop either half, or move the band math section elsewhere if the security page is not the right home.

…the expression parameter

The GDAL section said new variables 'might be introduced' in 3.12; they
shipped, so name them and their defaults, and add the 3.13.2 header_file
restriction.

Add a band math section showing how to drop the expression parameter via
layer_dependency=BidxParams, for applications that only need band selection.

@vincentsarago vincentsarago left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@vincentsarago
vincentsarago merged commit 5e5c972 into developmentseed:main Aug 5, 2026
8 checks passed
@ds-release-bot ds-release-bot Bot mentioned this pull request Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants