Skip to content

Conversation

@sunu
Copy link
Member

@sunu sunu commented Jul 3, 2025

Closes #242:

Skip VRT driver to prevent arbitrary file reading vulnerability reported in GDAL issue OSGeo/gdal#12645 and developmentseed/titiler#1180. This configuration prevents exploitation of GDAL's VRT driver which can be used to read arbitrary files from the filesystem.

Addresses #242. But we might need additional precautions to prevent arbitrary filesystem access through other GDAL drivers.

@ciaransweet
Copy link
Contributor

@pantierra @batpad @emmanuelmathot @sunu is there any reason to not include this change? Conscious it's been open for ~2 months now

@pantierra
Copy link
Contributor

I think we wanted to check on Vincent's suggestion to "create a user within the image which has no critical filesystem access". Now I am wondering if this is still a problem, as it seemed to be fixed upstream.

@pantierra pantierra changed the title Disable VRT support in TiTiler by default fix: Disable VRT support in TiTiler by default Nov 13, 2025
Skip VRT driver to prevent arbitrary file reading vulnerability
reported in GDAL issue OSGeo/gdal#12645
and developmentseed/titiler#1180.
This configuration prevents exploitation of GDAL's VRT driver
which can be used to read arbitrary files from the filesystem.
@pantierra pantierra merged commit bf14a5f into main Nov 13, 2025
4 checks passed
@pantierra pantierra deleted the fix/gdal-vrt branch November 13, 2025 22:55
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.

Disable VRT support in TiTiler by default

4 participants